aboutsummaryrefslogtreecommitdiff
path: root/nimterop.nimble
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-05-09 02:34:59 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-05-09 02:34:59 -0500
commit701a8793c2a30dfcecdf24023be3c8091e724d2c (patch)
tree4cf9d996a91da7d5273d23d77b49f51547a484e6 /nimterop.nimble
parent5a6eb043d28fb03b19c14ce766f166f59fe269ab (diff)
downloadnimterop-pragmas.tar.gz
nimterop-pragmas.zip
Fix #202 - implement noHeaderpragmas
Diffstat (limited to 'nimterop.nimble')
-rw-r--r--nimterop.nimble4
1 files changed, 3 insertions, 1 deletions
diff --git a/nimterop.nimble b/nimterop.nimble
index 984d0c5..d60224f 100644
--- a/nimterop.nimble
+++ b/nimterop.nimble
@@ -46,11 +46,13 @@ task docs, "Generate docs":
buildDocs(@["nimterop/all.nim"], "build/htmldocs")
task test, "Test":
+ rmFile("tests/timeit.txt")
+
buildTimeitTask()
buildToastTask()
execTest "tests/tast2.nim"
- execTest "tests/tast2.nim", "-d:HEADER"
+ execTest "tests/tast2.nim", "-d:NOHEADER"
execTest "tests/tnimterop_c.nim"
execTest "tests/tnimterop_c.nim", "-d:FLAGS=\"-f:ast2\""