From 2259a51d4e8ff7b93b192bdb1654b73ca783c2c7 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Sun, 8 Jul 2018 10:07:10 +0900 Subject: [PATCH] Add test for nim-libnx --- nimgen.nimble | 2 +- tests/nimgentest.nims | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nimgen.nimble b/nimgen.nimble index 5c0eb1e..0a5545e 100644 --- a/nimgen.nimble +++ b/nimgen.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.2" +version = "0.2.3" author = "genotrance" description = "c2nim helper to simplify and automate the wrapping of C libraries" license = "MIT" diff --git a/tests/nimgentest.nims b/tests/nimgentest.nims index f5136c6..872bbab 100644 --- a/tests/nimgentest.nims +++ b/tests/nimgentest.nims @@ -4,8 +4,12 @@ import strutils var full = false - comps = @["libsvm", "nim7z", "nimarchive", "nimbass", "nimbigwig", "nimfuzz", - "nimpcre", "nimrax", "nimssl", "nimssh2"] + comps = @[ + "genotrance/libsvm", "genotrance/nim7z", "genotrance/nimarchive", + "genotrance/nimbass", "genotrance/nimbigwig", "genotrance/nimfuzz", + "genotrance/nimpcre", "genotrance/nimrax", "genotrance/nimssl", + "genotrance/nimssh2", "jyapayne/nim-libnx" + ] if detectOs(Windows): comps.add("nimkerberos") @@ -20,7 +24,7 @@ if paramCount() > 2: for comp in comps: if not dirExists(".."/comp): withDir(".."): - exec "git clone --depth=1 https://github.com/genotrance/" & comp + exec "git clone --depth=1 https://github.com/" & comp exec "nimble uninstall -y " & comp, "", "" withDir(".."/comp):