aboutsummaryrefslogtreecommitdiff
path: root/tests/wrappers.nims
blob: 37ac686169571a70e7670dea20b69d085edb9acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"