Skip to content
Snippets Groups Projects
Commit 4f4b83d2 authored by mnislaih's avatar mnislaih
Browse files

Update to hie-bios 0.3.2 style program cradle

parent a71323ff
No related merge requests found
......@@ -3,5 +3,6 @@
# When run, this program will output a list of arguments which are necessary to
# load the GHC library component into GHCi. The program is used by `ghcide` in
# order to automatically set up the correct GHC API session for a project.
echo $(TERM=dumb CABFLAGS=-v0 $PWD/hadrian/build.cabal.sh tool-args -q --build-root=.hie-bios --flavour=ghc-in-ghci) -ighc ghc/Main.hs
TERM=dumb CABFLAGS=-v0 $PWD/hadrian/build.cabal.sh tool-args -q --build-root=.hie-bios --flavour=ghc-in-ghci > $HIE_BIOS_OUTPUT
echo -ighc >> $HIE_BIOS_OUTPUT
......@@ -60,7 +60,7 @@ toolArgsTarget = do
-- Find out the arguments that are needed to load a module into the
-- session
arg_list <- interpret fake_target getArgs
liftIO $ putStrLn (intercalate " " arg_list)
liftIO $ putStrLn (intercalate "\n" arg_list)
allStages :: [Stage]
allStages = [minBound .. maxBound]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment