mirror of
https://github.com/github/semantic.git
synced 2024-11-27 12:57:49 +03:00
Build dependencies before getting the flags.
This commit is contained in:
parent
9e7cacadb6
commit
3621ab3924
@ -18,6 +18,8 @@ else
|
||||
repl_builddir=dist-newstyle
|
||||
fi
|
||||
|
||||
cabal v2-build -v0 --builddir="$repl_builddir" all --only-dependencies
|
||||
|
||||
function flags {
|
||||
echo "-O0"
|
||||
echo "-ignore-dot-ghci"
|
||||
|
@ -8,6 +8,4 @@ cd $(dirname "$0")/..
|
||||
|
||||
repl_builddir=dist-newstyle
|
||||
|
||||
cabal v2-build --builddir="$repl_builddir" all --only-dependencies
|
||||
|
||||
cabal v2-exec --builddir="$repl_builddir" env -- -u GHC_ENVIRONMENT ghci -ghci-script=.ghci.repl $(script/ghci-flags --builddir "$repl_builddir") -no-ignore-dot-ghci $@
|
||||
|
Loading…
Reference in New Issue
Block a user