mirror of
https://github.com/logos-storage/apatheia.git
synced 2026-01-02 04:53:10 +00:00
all tests
This commit is contained in:
parent
30bead2ba2
commit
2b0219e689
@ -13,3 +13,4 @@ requires "threading"
|
||||
requires "taskpools >= 0.0.5"
|
||||
requires "chronicles"
|
||||
|
||||
include "build.nims"
|
||||
|
||||
8
build.nims
Normal file
8
build.nims
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
import std/[os, strutils]
|
||||
|
||||
task test, "unit tests":
|
||||
for file in listFiles("tests"):
|
||||
let name = file.splitPath().tail
|
||||
if name.startsWith("t") and name.endsWith(".nim"):
|
||||
exec "nim c -r " & file
|
||||
@ -1,2 +1,4 @@
|
||||
|
||||
--threads:on
|
||||
|
||||
include "build.nims"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user