*.nimble: remove import
This commit is contained in:
parent
cbec44d339
commit
0bf9b6ed78
|
@ -0,0 +1,2 @@
|
|||
nimcache
|
||||
|
|
@ -11,11 +11,11 @@ requires "nim >= 0.17.0",
|
|||
"serialization",
|
||||
"std_shims"
|
||||
|
||||
import ospaths, strutils
|
||||
|
||||
task test, "Run tests":
|
||||
for filename in listFiles("tests"):
|
||||
if filename.startsWith("tests" / "test_") and filename.endsWith(".nim"):
|
||||
exec "nim c -r " & filename
|
||||
rmFile filename[0..^5]
|
||||
for filename in [
|
||||
"test_lexer",
|
||||
"test_serialization",
|
||||
]:
|
||||
exec "nim c -r tests/" & filename
|
||||
rmFile "tests/" & filename
|
||||
|
||||
|
|
Loading…
Reference in New Issue