mirror of
https://github.com/tfausak/witch.git
synced 2024-11-26 09:43:03 +03:00
Allow GHC 8.2
This commit is contained in:
parent
0f3fd280ec
commit
1bdbfbdf3d
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
- { os: ubuntu-20.04, ghc: 8.8.4, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.6.5, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.4.4, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.2.2, cabal: 3.4.0.0 }
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,8 @@
|
||||
/.cabal-sandbox/
|
||||
/.ghc.environment*
|
||||
/.stack-work/
|
||||
/cabal.project.freeze
|
||||
/cabal.sandbox.config
|
||||
/dist-newstyle/
|
||||
/dist/
|
||||
/stack.yaml.lock
|
||||
|
12
witch.cabal
12
witch.cabal
@ -18,9 +18,9 @@ source-repository head
|
||||
|
||||
common basics
|
||||
build-depends:
|
||||
, base >= 4.11.0 && < 4.16
|
||||
, base >= 4.10.0 && < 4.16
|
||||
, bytestring >= 0.10.8 && < 0.12
|
||||
, containers >= 0.5.11 && < 0.7
|
||||
, containers >= 0.5.10 && < 0.7
|
||||
, text >= 1.2.3 && < 1.3
|
||||
, time >= 1.9.1 && < 1.12
|
||||
default-language: Haskell2010
|
||||
@ -28,12 +28,16 @@ common basics
|
||||
-Weverything
|
||||
-Wno-all-missed-specialisations
|
||||
-Wno-implicit-prelude
|
||||
-Wno-missing-export-lists
|
||||
-Wno-missed-specialisations
|
||||
-Wno-missing-exported-signatures
|
||||
-Wno-redundant-constraints
|
||||
-Wno-safe
|
||||
-Wno-unsafe
|
||||
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options:
|
||||
-Wno-missing-export-lists
|
||||
|
||||
if impl(ghc >= 8.8)
|
||||
ghc-options:
|
||||
-Wno-missing-deriving-strategies
|
||||
@ -47,7 +51,7 @@ library
|
||||
import: basics
|
||||
|
||||
build-depends:
|
||||
, template-haskell >= 2.13.0 && < 2.18
|
||||
, template-haskell >= 2.12.0 && < 2.18
|
||||
exposed-modules:
|
||||
Witch
|
||||
Witch.From
|
||||
|
Loading…
Reference in New Issue
Block a user