fixes #10039 : CI now runs buildTools (eg, nimfind wasn't being compiled before); refactoring (#10242)

This commit is contained in:
Timothee Cour 2019-01-10 00:35:37 -08:00 • committed by Andreas Rumpf
commit d2b95cb476
2 changed files with 34 additions and 28 deletions

View file

@ -51,12 +51,6 @@ proc execCleanPath*(cmd: string,
if execShellCmd(cmd) != 0: quit("FAILURE", errorcode)
putEnv("PATH", prevPath)
let kochExe* = os.getAppFilename()
# note: assumes `kochdocs` is only used by koch.nim
proc kochExec*(cmd: string) =
exec kochExe.quoteShell & " " & cmd
proc nimexec*(cmd: string) =
# Consider using `nimCompile` instead
exec findNim() & " " & cmd