mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Take care not to load semantic-source twice.
This commit is contained in:
parent
110b1b69e8
commit
7662ee75f1
@ -42,6 +42,8 @@ echo "-i$root/test"
|
||||
echo "-optP-include"
|
||||
echo "-optP$root/$repl_builddir/build/x86_64-osx/ghc-$ghc_version/semantic-0.8.0.0/build/autogen/cabal_macros.h"
|
||||
|
||||
echo "-hide-all-packages"
|
||||
|
||||
# Emit package flags from the environment file, removing comments & prefixing with -
|
||||
cabal exec --builddir=$repl_builddir -v0 bash -- -c 'cat $GHC_ENVIRONMENT' | grep -v '^--' | sed -e 's/^/-/'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user