better run also considers the command line; fixes #11719 [feature]
This commit is contained in:
parent
423e8cca91
commit
d55cc0888d
3 changed files with 18 additions and 1 deletions
|
|
@ -229,6 +229,7 @@ type
|
|||
projectMainIdx*: FileIndex # the canonical path id of the main module
|
||||
command*: string # the main command (e.g. cc, check, scan, etc)
|
||||
commandArgs*: seq[string] # any arguments after the main command
|
||||
commandLine*: string
|
||||
keepComments*: bool # whether the parser needs to keep comments
|
||||
implicitImports*: seq[string] # modules that are to be implicitly imported
|
||||
implicitIncludes*: seq[string] # modules that are to be implicitly included
|
||||
|
|
@ -335,6 +336,7 @@ proc newConfigRef*(): ConfigRef =
|
|||
projectMainIdx: FileIndex(0'i32), # the canonical path id of the main module
|
||||
command: "", # the main command (e.g. cc, check, scan, etc)
|
||||
commandArgs: @[], # any arguments after the main command
|
||||
commandLine: "",
|
||||
keepComments: true, # whether the parser needs to keep comments
|
||||
implicitImports: @[], # modules that are to be implicitly imported
|
||||
implicitIncludes: @[], # modules that are to be implicitly included
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue