Build task now fails if tests fail

This commit is contained in:
Mattia Giambirtone 2024-02-20 17:14:00 +01:00
parent f1d2386175
commit c5450a9e19
Signed by: nocturn9x
GPG Key ID: 8270F9F467971E59
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"