Add wrapper test
This commit is contained in:
parent
e06917f40f
commit
36faf62269
2 changed files with 16 additions and 1 deletions
15
tests/wrappers.nims
Normal file
15
tests/wrappers.nims
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import os
|
||||
|
||||
let
|
||||
wrappers = @["genotrance/nimarchive", "genotrance/nimgit2"]
|
||||
|
||||
rmDir("wrappers")
|
||||
mkDir("wrappers")
|
||||
withDir("wrappers"):
|
||||
for wrapper in wrappers:
|
||||
let
|
||||
name = wrapper.extractFilename()
|
||||
exec "git clone https://github.com/" & wrapper
|
||||
withDir(name):
|
||||
exec "nimble install -d"
|
||||
exec "nimble test"
|
||||
Loading…
Add table
Add a link
Reference in a new issue