aboutsummaryrefslogtreecommitdiff
path: root/html-test/run
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-14 20:05:37 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-22 23:40:27 +0200
commit554db03b637a76a01f2907d3115ef0dc290234c5 (patch)
tree3be67daacda982629edda5148b9bef00ab4fd9cd /html-test/run
parent20867f75e92931e2131a1badfa6b9606b970eb12 (diff)
Create convenience script for running specific HTML tests.
Diffstat (limited to 'html-test/run')
-rwxr-xr-xhtml-test/run5
1 files changed, 5 insertions, 0 deletions
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" $@