correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order
This commit is contained in:
parent
96bffadf60
commit
ce36fdc897
6 changed files with 18 additions and 3 deletions
|
|
@ -251,6 +251,7 @@ proc loadConfigs*(cfg: RelativeFile; cache: IdentCache; conf: ConfigRef) =
|
|||
template runNimScriptIfExists(path: AbsoluteFile) =
|
||||
let p = path # eval once
|
||||
if fileExists(p):
|
||||
configFiles.add(p)
|
||||
runNimScript(cache, p, freshDefines = false, conf)
|
||||
|
||||
if optSkipSystemConfigFile notin conf.globalOptions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue