mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 02:12:11 +00:00
Revert changes to koch.
This commit is contained in:
4
koch.nim
4
koch.nim
@@ -152,7 +152,7 @@ proc boot(args: string) =
|
||||
copyExe(findStartNimrod(), 0.thVersion)
|
||||
for i in 0..2:
|
||||
echo "iteration: ", i+1
|
||||
exec i.thVersion & " cpp $# $# compiler" / "nimrod.nim" % [bootOptions, args]
|
||||
exec i.thVersion & " c $# $# compiler" / "nimrod.nim" % [bootOptions, args]
|
||||
if sameFileContent(output, i.thVersion):
|
||||
copyExe(output, finalDest)
|
||||
echo "executables are equal: SUCCESS!"
|
||||
@@ -282,7 +282,7 @@ proc tests(args: string) =
|
||||
proc temp(args: string) =
|
||||
var output = "compiler" / "nimrod".exe
|
||||
var finalDest = "bin" / "nimrod_temp".exe
|
||||
exec("nimrod cpp compiler" / "nimrod")
|
||||
exec("nimrod c compiler" / "nimrod")
|
||||
copyExe(output, finalDest)
|
||||
if args.len > 0: exec(finalDest & " " & args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user