koch/nim: completion of the 'better run' feature
This commit is contained in:
parent
13253f4154
commit
6d125da93f
3 changed files with 6 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ proc commandCompileToC(graph: ModuleGraph) =
|
|||
semanticPasses(graph)
|
||||
registerPass(graph, cgenPass)
|
||||
|
||||
if {optRun, optForceFullMake} * conf.globalOptions == {optRun}:
|
||||
if {optRun, optForceFullMake} * conf.globalOptions == {optRun} or isDefined(conf, "nimBetterRun"):
|
||||
let proj = changeFileExt(conf.projectFull, "")
|
||||
if not changeDetectedViaJsonBuildInstructions(conf, proj):
|
||||
# nothing changed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue