parent
4850f9b596
commit
555cfd1d59
2 changed files with 3 additions and 5 deletions
|
|
@ -144,7 +144,7 @@ proc prepareTestArgs(cmdTemplate, filename, options, nimcache: string,
|
|||
options.add " " & extraOptions
|
||||
result = parseCmdLine(cmdTemplate % ["target", targetToCmd[target],
|
||||
"options", options, "file", filename.quoteShell,
|
||||
"filedir", filename.getFileDir()])
|
||||
"filedir", filename.getFileDir(), "nim", compilerPrefix])
|
||||
|
||||
proc callCompiler(cmdTemplate, filename, options, nimcache: string,
|
||||
target: TTarget, extraOptions = ""): TSpec =
|
||||
|
|
@ -682,7 +682,7 @@ proc main() =
|
|||
gTargets = parseTargets(targetsStr)
|
||||
targetsSet = true
|
||||
of "nim":
|
||||
compilerPrefix = addFileExt(p.val.string, ExeExt)
|
||||
compilerPrefix = addFileExt(p.val.string.absolutePath, ExeExt)
|
||||
of "directory":
|
||||
setCurrentDir(p.val.string)
|
||||
of "colors":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue