diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2017-07-20 09:43:55 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2017-07-20 10:05:14 +0200 |
commit | 24e750d68cce2ec15ca1d8660b67344d968a5434 (patch) | |
tree | 9972c1aec76ed6729e950eeb5bf0fa69b2dee9a6 /haddock-api/haddock-api.cabal | |
parent | 8064353244842c8a5b04d99cd5e6bb6430a9b51c (diff) |
Tweak haddock-api.cabal for pending release
Diffstat (limited to 'haddock-api/haddock-api.cabal')
-rw-r--r-- | haddock-api/haddock-api.cabal | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal index 803eab3f..6bed4546 100644 --- a/haddock-api/haddock-api.cabal +++ b/haddock-api/haddock-api.cabal @@ -36,12 +36,12 @@ library default-language: Haskell2010 -- this package typically supports only single major versions - build-depends: base == 4.10.* - , Cabal == 2.0.* - , ghc == 8.2.* - , ghc-paths == 0.1.* - , haddock-library >= 1.4.2 && < 1.5 - , xhtml == 3000.2.* + build-depends: base ^>= 4.10.0 + , Cabal ^>= 2.0.0 + , ghc ^>= 8.2 + , ghc-paths ^>= 0.1.0.9 + , haddock-library ^>= 1.4.4 + , xhtml ^>= 3000.2.2 -- Versions for the dependencies below are transitively pinned by -- the non-reinstallable `ghc` package and hence need no version @@ -58,6 +58,9 @@ library hs-source-dirs: src ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 + ghc-options: -Wall + if impl(ghc >= 8.0) + ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances exposed-modules: Documentation.Haddock @@ -101,6 +104,9 @@ library Haddock.Convert Paths_haddock_api + autogen-modules: + Paths_haddock_api + test-suite spec type: exitcode-stdio-1.0 default-language: Haskell2010 @@ -111,20 +117,27 @@ test-suite spec test , src + -- NB: We only use a small subset of lib:haddock-api here, which + -- explains why this component has a smaller build-depends set other-modules: Haddock.Backends.Hyperlinker.ParserSpec Haddock.Backends.Hyperlinker.Parser Haddock.Backends.Hyperlinker.Types build-depends: + ghc ^>= 8.2 + , hspec ^>= 2.4.4 + , QuickCheck ^>= 2.10 + + -- Versions for the dependencies below are transitively pinned by + -- the non-reinstallable `ghc` package and hence need no version + -- bounds + build-depends: base , containers - , ghc - , hspec - , QuickCheck == 2.* build-tool-depends: - hspec-discover:hspec-discover + hspec-discover:hspec-discover ^>= 2.4.4 source-repository head type: git |