summaryrefslogtreecommitdiff
path: root/ghci
blob: 206bbbc7ac4b37b8f65456bc09e74b792bf44014 (plain)
1
2
3
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//') $@