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
|
|
@ -1023,7 +1023,7 @@ proc writeJsonBuildInstructions*(conf: ConfigRef) =
|
|||
lit "],\L\"linkcmd\": "
|
||||
str getLinkCmd(conf, conf.absOutFile, objfiles)
|
||||
|
||||
if optRun in conf.globalOptions:
|
||||
if optRun in conf.globalOptions or isDefined(conf, "nimBetterRun"):
|
||||
lit ",\L\"nimfiles\":[\L"
|
||||
nimfiles(conf, f)
|
||||
lit "]\L"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue