Nimrod can now compile itself with --lineDir enabled
This commit is contained in:
parent
daa2c8732d
commit
0f0dfd6379
7 changed files with 25 additions and 12 deletions
|
|
@ -66,7 +66,8 @@ proc HandleCmdLine() =
|
|||
var filename = ""
|
||||
ProcessCmdLine(passCmd1, command, filename)
|
||||
if filename != "":
|
||||
var p = splitFile(filename)
|
||||
var fullPath = expandFilename(filename)
|
||||
var p = splitFile(fullPath)
|
||||
options.projectPath = p.dir
|
||||
options.projectName = p.name
|
||||
nimconf.LoadConfig(filename) # load the right config file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue