diff options
-rw-r--r-- | haddock.cabal | 4 | ||||
-rwxr-xr-x | html-test/Main.hs (renamed from html-test/run.hs) | 0 | ||||
-rwxr-xr-x | html-test/run | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal index c0e812a1..019f235e 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -125,9 +125,9 @@ executable haddock test-suite html-test type: exitcode-stdio-1.0 default-language: Haskell2010 - main-is: run.hs + main-is: Main.hs hs-source-dirs: html-test - build-depends: base, directory, process, filepath, Cabal, xml, syb, haddock-test + build-depends: base, filepath, haddock-test test-suite hypsrc-test type: exitcode-stdio-1.0 diff --git a/html-test/run.hs b/html-test/Main.hs index 8d1b40a8..8d1b40a8 100755 --- a/html-test/run.hs +++ b/html-test/Main.hs diff --git a/html-test/run b/html-test/run new file mode 100755 index 00000000..5e17ad0f --- /dev/null +++ b/html-test/run @@ -0,0 +1,5 @@ +#!/bin/bash + +export HADDOCK_PATH=$(which haddock) +LIB_PATH="$(dirname "$BASH_SOURCE")/../haddock-test/src/" +runhaskell -i:"$LIB_PATH" "Main.hs" $@ |