Fix NimScriptApi builtins. Implement before/after hooks for NimS.

This commit is contained in:
Dominik Picheta 2015-12-30 18:14:32 +00:00
commit 5d55a5f7a2
5 changed files with 95 additions and 19 deletions

View file

@ -12,6 +12,13 @@ srcDir = "src"
requires "nim >= 0.11.2"
before tasks:
echo("About to list tasks!")
return true
after tasks:
echo("Listed tasks!")
task tests, "Run the Nimble tester!":
withDir "tests":
exec "nim c -r tester"