summaryrefslogtreecommitdiff
path: root/hadrian/ghci-stack
diff options
context:
space:
mode:
authorXavier Denis <xldenis@gmail.com>2020-02-13 17:52:09 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-29 05:07:50 -0500
commita999ee96a22650b59855609f84e2808b4133e9e0 (patch)
treeaf6a76a019dab2f9b8d6428bedcf55d95d1e2e5e /hadrian/ghci-stack
parent99d2de860ff82e3f626c8b3d47d355ab16d18fd1 (diff)
downloadhaskell-a999ee96a22650b59855609f84e2808b4133e9e0.tar.gz
Rename ghci.sh and build.sh to ghci and build respectively
Convert hadrian buildscripts to unsuffixed, dashed form final cleanups
Diffstat (limited to 'hadrian/ghci-stack')
-rwxr-xr-xhadrian/ghci-stack6
1 files changed, 6 insertions, 0 deletions
diff --git a/hadrian/ghci-stack b/hadrian/ghci-stack
new file mode 100755
index 0000000000..3c850cdac8
--- /dev/null
+++ b/hadrian/ghci-stack
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+set -e
+
+GHC_FLAGS="$GHC_FLAGS $(TERM=dumb CABFLAGS=-v0 "hadrian/build-stack" tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci "$@")"
+stack exec -- ghci $GHC_FLAGS "$@" -fno-code -fwrite-interface -hidir=.hadrian_ghci/interface -O0 ghc/Main.hs +RTS -A128m