parent
5600a62229
commit
5d15bd7b61
4 changed files with 21 additions and 12 deletions
|
|
@ -153,8 +153,7 @@ proc compileSystemModule*(graph: ModuleGraph) =
|
|||
|
||||
proc wantMainModule*(conf: ConfigRef) =
|
||||
if conf.projectFull.isEmpty:
|
||||
fatal(conf, newLineInfo(conf, AbsoluteFile(commandLineDesc), 1, 1), errGenerated,
|
||||
"command expects a filename")
|
||||
fatal(conf, gCmdLineInfo, "command expects a filename")
|
||||
conf.projectMainIdx = fileInfoIdx(conf, addFileExt(conf.projectFull, NimExt))
|
||||
|
||||
proc compileProject*(graph: ModuleGraph; projectFileIdx = InvalidFileIdx) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue