summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-12 10:48:29 +0200
committerAraq <rumpf_a@web.de>2019-07-12 10:48:29 +0200
commit6d125da93f54a681561ffd428ac0b6aeb132aefd (patch)
tree3f77c52281fa76f8f0b8d3493b03315188644d71 /compiler/main.nim
parent13253f41544404c614e70d7ad312b54d0e424e55 (diff)
downloadNim-6d125da93f54a681561ffd428ac0b6aeb132aefd.tar.gz
koch/nim: completion of the 'better run' feature
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 26c1999e6..c16afafbe 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -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