mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 02:42:05 +00:00
Make nimrepl and trimcc tools compile
This commit is contained in:
@@ -24,7 +24,7 @@ proc execCode(code: string): string =
|
||||
f.close()
|
||||
result = osproc.execProcess(
|
||||
"$# $# --verbosity:0 --hint[Conf]:off temp.nim" % [nimExe, runCmd],
|
||||
{poStdErrToStdOut})
|
||||
options = {poStdErrToStdOut})
|
||||
else:
|
||||
result = "cannot open file 'temp.nim'"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ proc walker(dir: string) =
|
||||
else:
|
||||
echo "Required: ", path
|
||||
# copy back:
|
||||
moveFile(dest=path, sourc=newName(path))
|
||||
moveFile(dest=path, source=newName(path))
|
||||
of pcDir:
|
||||
walker(path)
|
||||
else: discard
|
||||
|
||||
Reference in New Issue
Block a user