From 65d2902196afe0cdc67ca1cfc39ab77406f583f2 Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Wed, 9 May 2018 20:36:23 +0900 Subject: [PATCH] Add nimble file --- butterfly.nimble | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 butterfly.nimble diff --git a/butterfly.nimble b/butterfly.nimble new file mode 100644 index 0000000..6994dec --- /dev/null +++ b/butterfly.nimble @@ -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"