*.nimble: remove import

This commit is contained in:
Ștefan Talpalaru 2019-03-25 22:32:41 +01:00
parent cbec44d339
commit 0bf9b6ed78
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 8 additions and 6 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
nimcache

View File

@ -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