Skip to content

Commit

Permalink
etc
Browse files Browse the repository at this point in the history
  • Loading branch information
ejconlon committed Sep 11, 2024
1 parent e298d26 commit 0270a57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/minipat
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ if [ $# -ne 0 ]; then
exit 1
fi

# Ensure absolute path for GHCi script
SCRIPT="$(realpath "${SCRIPT}")"

set -x

stack build --fast "minipat-${BACKEND}"

exec stack exec -- ghci -package "minipat-${BACKEND}" -ghci-script "${SCRIPT}"
exec stack ghci --ghci-options "-ghci-script=\"${SCRIPT}\"" "minipat-${BACKEND}"

0 comments on commit 0270a57

Please sign in to comment.