Add wrapper test

This commit is contained in:
Ganesh Viswanathan 2020-03-30 15:56:05 -05:00
commit 36faf62269
2 changed files with 16 additions and 1 deletions

15
tests/wrappers.nims Normal file
View 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"