Implemented flags and arguments for NimScript's setCommand.

This commit is contained in:
Dominik Picheta 2015-12-25 16:32:46 +00:00
commit 84f371982b
6 changed files with 249 additions and 82 deletions

View file

@ -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"