summaryrefslogtreecommitdiff
path: root/hadrian/ghci-cabal
blob: 93343e4e2862ced1365a160f2e7b4509bece07e1 (plain)
1
2
3
4
5
6
#!/usr/bin/env sh

set -e

GHC_FLAGS="$GHC_FLAGS $(TERM=dumb CABFLAGS=-v0 "hadrian/build-cabal" 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