summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xghci4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghci b/ghci
new file mode 100755
index 000000000..206bbbc7a
--- /dev/null
+++ b/ghci
@@ -0,0 +1,4 @@
+#!/bin/sh
+# ghci using objects built by cabal
+make dist/caballog
+$(grep 'ghc --make' dist/caballog | head -n 1 | perl -pe 's/--make/--interactive/; s/.\/[^\.\s]+.hs//; s/-package-id [^\s]+//g; s/-hide-all-packages//; s/-threaded//; s/-O//') $@