1
1
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:
Rob Rix 2019-12-18 08:58:19 -05:00
parent 9e7cacadb6
commit 3621ab3924
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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 $@