From f0d909b0a6a3484cbdc754ee0e4f7054e44e8013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Mon, 25 Mar 2019 17:37:59 +0100 Subject: [PATCH] *.nimble: don't use imports --- faststreams.nimble | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/faststreams.nimble b/faststreams.nimble index 0f744ad..c642279 100644 --- a/faststreams.nimble +++ b/faststreams.nimble @@ -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