brought back fast ghci

This commit is contained in:
Joey Hess 2013-02-27 20:30:04 -04:00
parent b1e1043bdb
commit 8d47acc8f8

4
ghci Executable file
View file

@ -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//') $@