Merge branch 'nimble'
This commit is contained in:
commit
464034d780
1 changed files with 6 additions and 6 deletions
|
|
@ -11,11 +11,11 @@ requires "nim >= 0.17.0",
|
||||||
"ranges",
|
"ranges",
|
||||||
"std_shims"
|
"std_shims"
|
||||||
|
|
||||||
import ospaths, strutils
|
|
||||||
|
|
||||||
task test, "Run tests":
|
task test, "Run tests":
|
||||||
for filename in listFiles("tests"):
|
for filename in [
|
||||||
if filename.startsWith("tests" / "test_") and filename.endsWith(".nim"):
|
"test_input_stream",
|
||||||
exec "nim c -r " & filename
|
"test_output_stream"
|
||||||
rmFile filename[0..^5]
|
]:
|
||||||
|
exec "nim c -r tests/" & filename
|
||||||
|
rmFile "tests/" & filename
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue