Add test for nim-libnx
This commit is contained in:
parent
eca296cf11
commit
2259a51d4e
2 changed files with 8 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
author = "genotrance"
|
author = "genotrance"
|
||||||
description = "c2nim helper to simplify and automate the wrapping of C libraries"
|
description = "c2nim helper to simplify and automate the wrapping of C libraries"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,12 @@ import strutils
|
||||||
|
|
||||||
var
|
var
|
||||||
full = false
|
full = false
|
||||||
comps = @["libsvm", "nim7z", "nimarchive", "nimbass", "nimbigwig", "nimfuzz",
|
comps = @[
|
||||||
"nimpcre", "nimrax", "nimssl", "nimssh2"]
|
"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):
|
if detectOs(Windows):
|
||||||
comps.add("nimkerberos")
|
comps.add("nimkerberos")
|
||||||
|
|
@ -20,7 +24,7 @@ if paramCount() > 2:
|
||||||
for comp in comps:
|
for comp in comps:
|
||||||
if not dirExists(".."/comp):
|
if not dirExists(".."/comp):
|
||||||
withDir(".."):
|
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, "", ""
|
exec "nimble uninstall -y " & comp, "", ""
|
||||||
withDir(".."/comp):
|
withDir(".."/comp):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue