Merge branch 'nimble'

This commit is contained in:
Ștefan Talpalaru 2019-03-25 17:41:56 +01:00
commit 464034d780
No known key found for this signature in database
GPG key ID: CBF7934204F1B6F9

View file

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