bootstrapping works again

This commit is contained in:
Araq 2013-01-22 00:37:33 +01:00
commit 09e4b194f5
3 changed files with 16 additions and 4 deletions

View file

@ -312,9 +312,7 @@ proc MainCommand =
# no need to write rod files and would slow down things:
#registerPass(rodwrite.rodwritePass())
discard CompileModule(options.libpath / "system", {sfSystemModule})
# I'm lazy and misused this piece of code as a testcase so don't remove
# the invocation with a named parameter:
service.serve(action = proc () =
service.serve(proc () =
let projectFile = mainCommandArg()
discard CompileModule(projectFile, {sfMainModule})
)