fixes #10039 : CI now runs buildTools (eg, nimfind wasn't being compiled before); refactoring (#10242)
This commit is contained in:
parent
3ed5f83704
commit
d2b95cb476
2 changed files with 34 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue