summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.sh b/test.sh
index 21ce262..cd8d80d 100755
--- a/test.sh
+++ b/test.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
-stack build
-prog="$(stack path --local-install-root)/bin/lisp"
+cabal build
+prog="$(cabal exec -- sh -c 'echo "$PATH" | cut -d: -f1')/lisp"
ok=1
for f in tests/*.lisp; do
outf="$(sed 's/\.lisp$/.out/' <<<"$f")"