Make nimrepl and trimcc tools compile
This commit is contained in:
parent
779f2b37aa
commit
eada55fc78
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ proc execCode(code: string): string =
|
||||||
f.close()
|
f.close()
|
||||||
result = osproc.execProcess(
|
result = osproc.execProcess(
|
||||||
"$# $# --verbosity:0 --hint[Conf]:off temp.nim" % [nimExe, runCmd],
|
"$# $# --verbosity:0 --hint[Conf]:off temp.nim" % [nimExe, runCmd],
|
||||||
{poStdErrToStdOut})
|
options = {poStdErrToStdOut})
|
||||||
else:
|
else:
|
||||||
result = "cannot open file 'temp.nim'"
|
result = "cannot open file 'temp.nim'"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ proc walker(dir: string) =
|
||||||
else:
|
else:
|
||||||
echo "Required: ", path
|
echo "Required: ", path
|
||||||
# copy back:
|
# copy back:
|
||||||
moveFile(dest=path, sourc=newName(path))
|
moveFile(dest=path, source=newName(path))
|
||||||
of pcDir:
|
of pcDir:
|
||||||
walker(path)
|
walker(path)
|
||||||
else: discard
|
else: discard
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue