*.nimble: remove import

This commit is contained in:
Ștefan Talpalaru 2019-03-25 22:55:20 +01:00
parent da4709d735
commit 31853bf224
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 7 additions and 6 deletions

2
.gitignore vendored Normal file
View File

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

View File

@ -9,8 +9,6 @@ skipDirs = @["tests"]
requires "nim > 0.18.0"
import ospaths
task test, "Run all tests":
var testFiles = @[
@ -41,13 +39,14 @@ task test, "Run all tests":
if tfile == "testtime":
for cmd in testCommands:
for def in timerCommands:
var commandLine = (cmd & def & " tests") / tfile
var commandLine = cmd & def & " tests/" & tfile
echo "\n" & commandLine
exec commandLine
rmFile("tests" / tfile.toExe())
rmFile("tests/" & tfile.toExe())
else:
for cmd in testCommands:
var commandLine = (cmd & " tests") / tfile
var commandLine = cmd & " tests/" & tfile
echo "\n" & commandLine
exec commandLine
rmFile("tests" / tfile.toExe())
rmFile("tests/" & tfile.toExe())