create custom test task

This commit is contained in:
gmega 2024-03-01 09:09:06 -03:00
parent 2b3cf84359
commit 6d44662d97
No known key found for this signature in database
GPG Key ID: FFD8DAF00660270F
2 changed files with 6 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
nimble.develop
nimble.paths
build

View File

@ -10,3 +10,7 @@ skipDirs = @["tests"]
requires "nim >= 1.6.16",
"https://github.com/codex-storage/nim-chronos#feature/profiler-v4",
"metrics >= 0.1.0"
task test, "Run tests":
exec "nim c --out:./build/testeall -r tests/testall.nim"