Build task now fails if tests fail

This commit is contained in:
Mattia Giambirtone 2024-02-20 17:14:00 +01:00
parent 68e69705c2
commit 59e8a0fe74
1 changed files with 2 additions and 0 deletions

View File

@ -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"