From 6d44662d975294be7a9c6258e6ab4e9ecf90a8fa Mon Sep 17 00:00:00 2001 From: gmega Date: Fri, 1 Mar 2024 09:09:06 -0300 Subject: [PATCH] create custom test task --- .gitignore | 2 ++ chroprof.nimble | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 2ca3f1f..76ef5c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ nimble.develop nimble.paths + +build diff --git a/chroprof.nimble b/chroprof.nimble index 19a39d7..7e2b3d7 100644 --- a/chroprof.nimble +++ b/chroprof.nimble @@ -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" \ No newline at end of file