Simplify implementation of path for Nimble links.

This commit is contained in:
Dominik Picheta 2017-09-30 14:16:57 +01:00
commit a02a1431e2
2 changed files with 10 additions and 22 deletions

View file

@ -15,8 +15,8 @@ const path = "../src/nimble"
removeDir(installDir)
createDir(installDir)
test "can compile nimble":
check execCmdEx("nim c " & path).exitCode == QuitSuccess
# Always recompile.
doAssert execCmdEx("nim c " & path).exitCode == QuitSuccess
test "can compile with --os:windows":
check execCmdEx("nim check --os:windows " & path).exitCode == QuitSuccess