Add nimble file

This commit is contained in:
Joey Payne 2018-05-09 20:36:23 +09:00
commit 65d2902196

18
butterfly.nimble Normal file
View file

@ -0,0 +1,18 @@
# Package
version = "0.0.1"
author = "Joey Payne"
description = "Macro to make all your code step throughable."
license = "The Unlicense"
srcDir = "src"
# Requires custom Nim compiler patch
# in order to patch procs on the fly
requires "nim >= 0.18.1"
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"