Skip to content
Snippets Groups Projects
Commit 24e750d6 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Tweak haddock-api.cabal for pending release

parent 80643532
No related branches found
No related tags found
5 merge requests!38Make --no-tmp-comp-dir the default,!37Adapt to latest xhtml version, various optimizations,!31Support HsToken in DataDecl and ClassDecl,!12Drop orphan instance when defined upstream.,!10Haddock interfaces produced from `.hi` files
...@@ -36,12 +36,12 @@ library ...@@ -36,12 +36,12 @@ library
default-language: Haskell2010 default-language: Haskell2010
-- this package typically supports only single major versions -- this package typically supports only single major versions
build-depends: base == 4.10.* build-depends: base ^>= 4.10.0
, Cabal == 2.0.* , Cabal ^>= 2.0.0
, ghc == 8.2.* , ghc ^>= 8.2
, ghc-paths == 0.1.* , ghc-paths ^>= 0.1.0.9
, haddock-library >= 1.4.2 && < 1.5 , haddock-library ^>= 1.4.4
, xhtml == 3000.2.* , xhtml ^>= 3000.2.2
-- Versions for the dependencies below are transitively pinned by -- Versions for the dependencies below are transitively pinned by
-- the non-reinstallable `ghc` package and hence need no version -- the non-reinstallable `ghc` package and hence need no version
...@@ -58,6 +58,9 @@ library ...@@ -58,6 +58,9 @@ library
hs-source-dirs: src hs-source-dirs: src
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 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: exposed-modules:
Documentation.Haddock Documentation.Haddock
...@@ -101,6 +104,9 @@ library ...@@ -101,6 +104,9 @@ library
Haddock.Convert Haddock.Convert
Paths_haddock_api Paths_haddock_api
autogen-modules:
Paths_haddock_api
test-suite spec test-suite spec
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
default-language: Haskell2010 default-language: Haskell2010
...@@ -111,20 +117,27 @@ test-suite spec ...@@ -111,20 +117,27 @@ test-suite spec
test test
, src , 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: other-modules:
Haddock.Backends.Hyperlinker.ParserSpec Haddock.Backends.Hyperlinker.ParserSpec
Haddock.Backends.Hyperlinker.Parser Haddock.Backends.Hyperlinker.Parser
Haddock.Backends.Hyperlinker.Types 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: build-depends:
base base
, containers , containers
, ghc
, hspec
, QuickCheck == 2.*
build-tool-depends: build-tool-depends:
hspec-discover:hspec-discover hspec-discover:hspec-discover ^>= 2.4.4
source-repository head source-repository head
type: git type: git
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment