Fix NimScriptApi builtins. Implement before/after hooks for NimS.
This commit is contained in:
parent
c4639fc145
commit
5d55a5f7a2
5 changed files with 95 additions and 19 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue