aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-18 21:58:37 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-22 23:40:28 +0200
commitf7337b12cc3c198a3827c31cbc2854501f360595 (patch)
tree39bad3e29e4052eb013a08ae229a92255c9e9429 /hypsrc-test
parent9ff514d4da431955db26cf4e64b68a8e219161b9 (diff)
Copy test runner script for hyperlinked source case.
Diffstat (limited to 'hypsrc-test')
-rwxr-xr-xhypsrc-test/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/hypsrc-test/run b/hypsrc-test/run
new file mode 100755
index 00000000..5e17ad0f
--- /dev/null
+++ b/hypsrc-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" $@