Revert changes to koch.
This commit is contained in:
parent
f66f43bca0
commit
444e8dd8bf
1 changed files with 2 additions and 2 deletions
4
koch.nim
4
koch.nim
|
|
@ -152,7 +152,7 @@ proc boot(args: string) =
|
||||||
copyExe(findStartNimrod(), 0.thVersion)
|
copyExe(findStartNimrod(), 0.thVersion)
|
||||||
for i in 0..2:
|
for i in 0..2:
|
||||||
echo "iteration: ", i+1
|
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):
|
if sameFileContent(output, i.thVersion):
|
||||||
copyExe(output, finalDest)
|
copyExe(output, finalDest)
|
||||||
echo "executables are equal: SUCCESS!"
|
echo "executables are equal: SUCCESS!"
|
||||||
|
|
@ -282,7 +282,7 @@ proc tests(args: string) =
|
||||||
proc temp(args: string) =
|
proc temp(args: string) =
|
||||||
var output = "compiler" / "nimrod".exe
|
var output = "compiler" / "nimrod".exe
|
||||||
var finalDest = "bin" / "nimrod_temp".exe
|
var finalDest = "bin" / "nimrod_temp".exe
|
||||||
exec("nimrod cpp compiler" / "nimrod")
|
exec("nimrod c compiler" / "nimrod")
|
||||||
copyExe(output, finalDest)
|
copyExe(output, finalDest)
|
||||||
if args.len > 0: exec(finalDest & " " & args)
|
if args.len > 0: exec(finalDest & " " & args)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue