Support for Node.js

This commit is contained in:
Heiko Behrens 2017-08-31 14:16:32 -07:00
commit 578f5f143e
4 changed files with 45 additions and 17 deletions

View file

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