Build task now fails if tests fail
This commit is contained in:
parent
f1d2386175
commit
c5450a9e19
|
@ -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