Allow blank onSymbol to skip, test in release mode
This commit is contained in:
parent
89ff8c0cc0
commit
624bee36ff
3 changed files with 32 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue