Merge pull request #323 from MuhammedZakir/master

Add `--stack-yaml` flag to `stack build --silent`
This commit is contained in:
Tomáš Janoušek
2021-08-17 19:09:57 +01:00
committed by GitHub

View File

@@ -659,7 +659,7 @@ compile dirs method =
CompileGhc ->
run "ghc" ghcArgs
CompileStackGhc stackYaml ->
run "stack" ["build", "--silent"] .&&.
run "stack" ["build", "--silent", "--stack-yaml", stackYaml] .&&.
run "stack" ("ghc" : "--stack-yaml" : stackYaml : "--" : ghcArgs)
CompileScript script ->
run script [binFileName dirs]