Support for Node.js
This commit is contained in:
parent
7c19f5b448
commit
578f5f143e
4 changed files with 45 additions and 17 deletions
|
|
@ -12,3 +12,6 @@ requires "nim >= 0.17.0"
|
|||
|
||||
task test, "Run tests":
|
||||
exec "nim c -r tests/test.nim"
|
||||
|
||||
task testjs, "Run tests on Node.js":
|
||||
exec "nim js -d:nodejs -r tests/test.nim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue