aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/haddock-api.cabal
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-28 00:00:33 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-30 22:37:50 +0200
commitd44fc5b2b40e26e76d2fe7ac0a47bea84154cf67 (patch)
tree569258b210b3ff27d491e40c4185b165d4c561f3 /haddock-api/haddock-api.cabal
parentfe22edadb6071e0b8e83c2ddff21d28bbe922a68 (diff)
Setup HSpec framework for Haddock API package.
Diffstat (limited to 'haddock-api/haddock-api.cabal')
-rw-r--r--haddock-api/haddock-api.cabal31
1 files changed, 31 insertions, 0 deletions
diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal
index 23c4497a..56889e66 100644
--- a/haddock-api/haddock-api.cabal
+++ b/haddock-api/haddock-api.cabal
@@ -96,6 +96,37 @@ library
Haddock.Convert
Paths_haddock_api
+test-suite spec
+ type: exitcode-stdio-1.0
+ default-language: Haskell2010
+ main-is: Spec.hs
+ ghc-options: -Wall
+
+ hs-source-dirs:
+ test
+ , src
+
+ other-modules:
+ Haddock.Backends.Hyperlinker.ParserSpec
+
+ build-depends:
+ base >= 4.3 && < 4.9
+ , bytestring
+ , filepath
+ , directory
+ , containers
+ , deepseq
+ , array
+ , xhtml >= 3000.2 && < 3000.3
+ , Cabal >= 1.10
+ , ghc >= 7.10 && < 7.10.2
+
+ , ghc-paths
+ , haddock-library == 1.2.*
+
+ , hspec
+ , QuickCheck == 2.*
+
source-repository head
type: git
location: https://github.com/haskell/haddock.git