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