NimScript: setCommand takes an optional project filename
This commit is contained in:
parent
27bdf5c45c
commit
1b7d8246c1
3 changed files with 9 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ proc handleCmdLine() =
|
|||
gProjectFull = canonicalizePath(gProjectName)
|
||||
except OSError:
|
||||
gProjectFull = gProjectName
|
||||
var p = splitFile(gProjectFull)
|
||||
let p = splitFile(gProjectFull)
|
||||
gProjectPath = p.dir
|
||||
gProjectName = p.name
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue