aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-12-07 20:19:31 +0100
committerSimon Hengel <sol@typeful.net>2012-12-07 20:58:05 +0100
commitd78561d560b55114011d56168dafba00cb4d1f2f (patch)
tree01d2f38bda4691a0b83d37ca621249d2e963d54e
parente2c75d48f4dfd4140e977d097a95aa06b614fa24 (diff)
Add missing test files to cabal file (fixes #230)
-rw-r--r--haddock.cabal9
1 files changed, 6 insertions, 3 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 06a85364..2c102bc0 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -29,9 +29,8 @@ extra-source-files:
haddock.spec
haskell.vim
src/haddock.sh
--- The test files shouldn't have to go here, but the source files for
--- the test-suite stanzas don't get picked up by `cabal sdist`.
- tests/html-test/run.lhs
+ html-test/src/*.hs
+ html-test/ref/*.html
data-dir: resources
data-files: html/frames.html
@@ -199,6 +198,10 @@ test-suite spec
, test/nanospec
, src
+ other-modules:
+ Test.Hspec
+ Haddock.ParseSpec
+
build-depends:
base
, ghc