diff options
author | David Waern <david.waern@gmail.com> | 2009-11-28 16:58:39 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2009-11-28 16:58:39 +0000 |
commit | 27e66a56f09669646da6c87a762f36ea9fbfba93 (patch) | |
tree | 87fa78727702e994843a432c94f2cc2abf57785d /haddock.cabal | |
parent | 7aa3dc587989b51df47dade771b0ba6ef0c5af0a (diff) |
Add a test flag that brings in QuickCheck
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal index fc61172a..49048a28 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -63,6 +63,10 @@ flag in-ghc-tree default: False manual: True +flag test + default: False + manual: True + executable haddock build-depends: base >= 4.0.0.0 && < 4.3.0.0, @@ -80,6 +84,10 @@ executable haddock else build-depends: ghc-paths + if flag(test) + cpp-options: -DTEST + build-depends: QuickCheck + main-is: Main.hs hs-source-dirs: src extensions: CPP, PatternGuards, DeriveDataTypeable, |