cmdline: improve command processing (#16056)

This commit is contained in:
Timothee Cour
2020-11-26 15:55:56 -08:00
committed by GitHub
parent 9f1c5f64c5
commit 52829fc8d1
18 changed files with 144 additions and 137 deletions

View File

@@ -517,7 +517,7 @@ proc mainCommand(graph: ModuleGraph) =
clearPasses(graph)
registerPass graph, verbosePass
registerPass graph, semPass
conf.cmd = cmdIdeTools
conf.setCmd cmdIdeTools
wantMainModule(conf)
if not fileExists(conf.projectFull):
@@ -666,7 +666,7 @@ else:
clearPasses(graph)
registerPass graph, verbosePass
registerPass graph, semPass
conf.cmd = cmdIdeTools
conf.setCmd cmdIdeTools
wantMainModule(conf)
if not fileExists(conf.projectFull):