summaryrefslogtreecommitdiff
path: root/hadrian/ghci.sh
blob: f31b94574f9544269510fc12513faca91bbc4f50 (plain)
1
2
3
4
5
6
#!/usr/bin/env sh

set -e

GHC_FLAGS="$GHC_FLAGS $(TERM=dumb CABFLAGS=-v0 "hadrian/build.cabal.sh" tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci "$@")"
ghci $GHC_FLAGS "$@" -fno-code -fwrite-interface -hidir=.hadrian_ghci/interface -O0 ghc/Main.hs +RTS -A128m