aboutsummaryrefslogtreecommitdiff
path: root/ghci
blob: fccfc661ab1acbd6dfaf3f5edf98d2e76ea0246b (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//') $@ -fno-warn-tabs