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