Merge branch 'master' of github.com:nimrod-code/babel
Conflicts: babel.nim
This commit is contained in:
commit
266ef672ad
1 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,10 @@ proc installFromDir(dir: string, latest: bool): string =
|
|||
|
||||
echo(pkgInfo.name & " installed successfully.")
|
||||
|
||||
## remove old unversioned directory
|
||||
if not latest:
|
||||
removeDir libsDir / pkgInfo.name
|
||||
|
||||
proc getTagsList(dir: string): seq[string] =
|
||||
let output = execProcess("cd \"" & dir & "\" && git tag")
|
||||
if output.len > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue