nimterop/tests/wrappers.nims
Ganesh Viswanathan 36faf62269 Add wrapper test
2020-03-30 15:56:05 -05:00

15 lines
No EOL
334 B
Nim

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"