Implemented flags and arguments for NimScript's setCommand.
This commit is contained in:
parent
5eaee85825
commit
84f371982b
6 changed files with 249 additions and 82 deletions
|
|
@ -13,3 +13,10 @@ requires "nim >= 0.12.1"
|
|||
|
||||
task test, "test description":
|
||||
echo(5+5)
|
||||
|
||||
task c_test, "Testing `setCommand \"c\", \"nimscript.nim\"`":
|
||||
setCommand "c", "nimscript.nim"
|
||||
|
||||
task cr, "Testing `nimble c -r nimscript.nim` via setCommand":
|
||||
--r
|
||||
setCommand "c", "nimscript.nim"
|
||||
Loading…
Add table
Add a link
Reference in a new issue