aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-10-15 16:10:24 +0200
committerSimon Hengel <sol@typeful.net>2012-10-15 19:32:42 +0200
commit3c5efc1361484f55d9e40b6be4618b2ff8aded26 (patch)
treee8c4a7611673aaf346f859864724b434d6f04c8b /haddock.cabal
parente251a5e26ca9ad3f783a251e2cac04b83a7f696f (diff)
Make test management scripts more robust
* They are now independent from the current directory, and hence can be called from everywhere * On UNIX/Linux they can now be run as scripts
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 8f655d83..67e86452 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -31,7 +31,7 @@ extra-source-files:
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/runtests.hs
+ tests/html-test/runtests.lhs
data-dir: resources
data-files: html/frames.html
@@ -172,7 +172,7 @@ library
test-suite html-test
type: exitcode-stdio-1.0
default-language: Haskell2010
- main-is: runtests.hs
+ main-is: runtests.lhs
hs-source-dirs: html-test
build-depends: base, directory, process, filepath, Cabal