aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2017-11-16 02:39:48 -0600
committerGanesh Viswanathan <dev@genotrance.com>2017-11-16 02:39:48 -0600
commit9bcabd23e3c542937e12b25aae94f6eb43ff75c4 (patch)
tree7b104d237d2c6554e044987ec00984866944b107 /tests
parente5eb693d2e6b12bd3cc22a586c77fff840a2a0bf (diff)
downloadnimgen-9bcabd23e3c542937e12b25aae94f6eb43ff75c4.tar.gz
nimgen-9bcabd23e3c542937e12b25aae94f6eb43ff75c4.zip
- Docopt for CLI parsing
- Download, extract and Git checkout support - OS specific keys with -win, -lin and -osx - Force re-generation with -f flag
Diffstat (limited to 'tests')
-rw-r--r--tests/nimgentest.nims7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/nimgentest.nims b/tests/nimgentest.nims
index 693d133..c5644d0 100644
--- a/tests/nimgentest.nims
+++ b/tests/nimgentest.nims
@@ -2,7 +2,6 @@ import ospaths
import strutils
for comp in @["nimbass", "nimfuzz", "nimssl"]:
- cd(".."/comp)
- exec "nimble install -y"
- exec "nimble test"
- cd(".."/"nimgen")
+ withDir(".."/comp):
+ exec "nimble install -y"
+ exec "nimble test"