diff options
-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, |