aboutsummaryrefslogtreecommitdiff
path: root/org-test/run
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-08-16 12:24:49 +1000
committerYuchen Pei <hi@ypei.me>2022-08-16 13:55:50 +1000
commitd7adfc2126da0547e2348c89f291696cff8efad1 (patch)
treef435ac652408edde4fb5fc999891f026906887c1 /org-test/run
parent5df092cac4ddce70dafe8bef1cc8d460c805d985 (diff)
Adding initial test for the org backend.
Diffstat (limited to 'org-test/run')
-rw-r--r--org-test/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/org-test/run b/org-test/run
new file mode 100644
index 00000000..3e72be80
--- /dev/null
+++ b/org-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 $@