Add test target

This commit is contained in:
Nycto 2017-07-18 09:23:47 -07:00
commit 254658ee5d
14 changed files with 111 additions and 9 deletions

View file

@ -11,7 +11,7 @@ bin = @["nimscript"]
requires "nim >= 0.12.1"
task test, "test description":
task work, "test description":
echo(5+5)
task c_test, "Testing `setCommand \"c\", \"nimscript.nim\"`":
@ -42,4 +42,4 @@ before hooks2:
return false
task hooks2, "Testing the hooks again":
echo("Shouldn't happen")
echo("Shouldn't happen")