aboutsummaryrefslogtreecommitdiff
path: root/html-test/run
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/run')
-rwxr-xr-xhtml-test/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/html-test/run b/html-test/run
new file mode 100755
index 00000000..3e72be80
--- /dev/null
+++ b/html-test/run
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+export HADDOCK_PATH=$(which haddock)
+LIB_PATH="$(dirname "$BASH_SOURCE")/../haddock-test/src/"
+MAIN_PATH="$(dirname "$BASH_SOURCE")/Main.hs"
+runhaskell -i:"$LIB_PATH" $MAIN_PATH $@