aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authoralexbiehl <alex.biehl@gmail.com>2017-04-18 16:45:32 +0200
committerAlex Biehl <alexbiehl@gmail.com>2017-04-25 10:08:48 +0200
commit70885ce16e1b0b9bf19fe0efb85a48daa0e5c281 (patch)
tree97616aa480ce473386bc6f7cf2d58d8f74ac28f1 /haddock.cabal
parent99ec96e57ea6b002394c923201d46a67ecfb8e16 (diff)
Travis: Use ghc-8.2.1 on master
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal53
1 files changed, 31 insertions, 22 deletions
diff --git a/haddock.cabal b/haddock.cabal
index a79f8c78..fa8a3531 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -12,9 +12,10 @@ bug-reports: https://github.com/haskell/haddock/issues
copyright: (c) Simon Marlow, David Waern
category: Documentation
build-type: Simple
-cabal-version: >= 1.10
+cabal-version: >= 2.0
stability: experimental
-
+tested-with: GHC==8.2.*, GHC==8.3
+
extra-source-files:
CHANGES
README.md
@@ -130,32 +131,40 @@ test-suite driver-test
test-suite html-test
type: exitcode-stdio-1.0
- default-language: Haskell2010
- main-is: Main.hs
- hs-source-dirs: html-test
- build-depends: base, filepath, haddock-test == 0.0.1
+ -- This tells cabal that this test depends on the executable
+ -- component 'haddock' from this very same package, as well
+ -- as adding the build-folder where the `haddock`
+ -- executable can be found in front of $PATH
+ build-tool-depends: haddock:haddock
+ default-language: Haskell2010
+ main-is: Main.hs
+ hs-source-dirs: html-test
+ build-depends: base, filepath, haddock-test == 0.0.1
test-suite hypsrc-test
- type: exitcode-stdio-1.0
- default-language: Haskell2010
- main-is: Main.hs
- hs-source-dirs: hypsrc-test
- build-depends: base, filepath, haddock-test == 0.0.1
- ghc-options: -Wall -fwarn-tabs
+ type: exitcode-stdio-1.0
+ build-tool-depends: haddock:haddock
+ default-language: Haskell2010
+ main-is: Main.hs
+ hs-source-dirs: hypsrc-test
+ build-depends: base, filepath, haddock-test == 0.0.1
+ ghc-options: -Wall -fwarn-tabs
test-suite latex-test
- type: exitcode-stdio-1.0
- default-language: Haskell2010
- main-is: Main.hs
- hs-source-dirs: latex-test
- build-depends: base, filepath, haddock-test == 0.0.1
+ type: exitcode-stdio-1.0
+ build-tool-depends: haddock:haddock
+ default-language: Haskell2010
+ main-is: Main.hs
+ hs-source-dirs: latex-test
+ build-depends: base, filepath, haddock-test == 0.0.1
test-suite hoogle-test
- type: exitcode-stdio-1.0
- default-language: Haskell2010
- main-is: Main.hs
- hs-source-dirs: hoogle-test
- build-depends: base, filepath, haddock-test == 0.0.1
+ type: exitcode-stdio-1.0
+ build-tool-depends: haddock:haddock
+ default-language: Haskell2010
+ main-is: Main.hs
+ hs-source-dirs: hoogle-test
+ build-depends: base, filepath, haddock-test == 0.0.1
source-repository head
type: git