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 14:06:43 +1000
commitba880b4c29724768eec5a3c07c79d5525e8b7992 (patch)
tree2b99ac288bfffe78c88c97b6984f4cddf71a7421 /org-test/run
parent6b48872222cc21e864e637055d95c71ff911fddf (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 $@