diff options
author | Simon Hengel <sol@typeful.net> | 2014-06-18 13:50:34 +0800 |
---|---|---|
committer | Simon Hengel <sol@typeful.net> | 2014-06-18 13:52:23 +0800 |
commit | 1bbda54a9cf1c8db93c5ef226c2a94ed38a842ff (patch) | |
tree | 988385d1ac83b5b8ac0b536ad6fe8676b41c3997 /haddock-library/haddock-library.cabal | |
parent | 89448ef6c7ef3367f210562306cfa95c95d77250 (diff) |
Use doctest to check examples in documentation
Diffstat (limited to 'haddock-library/haddock-library.cabal')
-rw-r--r-- | haddock-library/haddock-library.cabal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal index 20e0e94e..8af94a4b 100644 --- a/haddock-library/haddock-library.cabal +++ b/haddock-library/haddock-library.cabal @@ -73,6 +73,14 @@ test-suite spec , deepseq , QuickCheck == 2.* +test-suite doctests + type: exitcode-stdio-1.0 + default-language: Haskell2010 + hs-source-dirs: test + main-is: doctests.hs + ghc-options: -threaded + build-depends: base, doctest >= 0.8 + source-repository head type: git subdir: haddock-library |