Build task now fails if tests fail
This commit is contained in:
parent
68e69705c2
commit
59e8a0fe74
|
@ -13,6 +13,8 @@ bin = @["peon"]
|
|||
requires "nim >= 2.1.1"
|
||||
requires "jale >= 0.1.1"
|
||||
|
||||
before build:
|
||||
exec "nimble test"
|
||||
|
||||
task test, "Runs the test suite":
|
||||
exec "nim r tests/tokenize.nim"
|
Loading…
Reference in New Issue