*.nimble: don't use imports
This commit is contained in:
parent
7dd9a92ccb
commit
f0d909b0a6
1 changed files with 6 additions and 6 deletions
|
|
@ -11,11 +11,11 @@ requires "nim >= 0.17.0",
|
|||
"ranges",
|
||||
"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_input_stream",
|
||||
"test_output_stream"
|
||||
]:
|
||||
exec "nim c -r tests/" & filename
|
||||
rmFile "tests/" & filename
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue