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
|
||||
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
author = "genotrance"
|
||||
description = "c2nim helper to simplify and automate the wrapping of C libraries"
|
||||
license = "MIT"
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue