Allow blank onSymbol to skip, test in release mode

This commit is contained in:
Ganesh Viswanathan 2019-01-27 16:27:48 -06:00 • committed by genotrance
commit 624bee36ff
3 changed files with 32 additions and 13 deletions

View file

@ -20,7 +20,7 @@ proc tsoloud() =
execCmd "nim c -r tests/tsoloud.nim"
execCmd "nim cpp -r tests/tsoloud.nim"
task test, "Test":
proc testall() =
execCmd "nim c -r tests/tnimterop_c.nim"
execCmd "nim cpp -r tests/tnimterop_c.nim"
execCmd "nim cpp -r tests/tnimterop_cpp.nim"
@ -34,6 +34,13 @@ task test, "Test":
if not existsEnv("TRAVIS"):
tsoloud()
task test, "Test":
execCmd "nim c toast"
testAll()
execCmd "nim c -d:release toast"
testAll()
task docs, "Generate docs":
# Uses: pip install ghp-import
execCmd "nim doc --project --index:on nimterop/cimport"