Merge pull request #6 from fowlmouth/patch-3

Update babel.nim
This commit is contained in:
Dominik Picheta 2013-06-06 10:51:00 -07:00
commit 8016ef938c

View file

@ -212,6 +212,11 @@ proc installFromDir(dir: string, latest: bool): string =
echo(pkgInfo.name & " installed successfully.")
result = pkgDestDir
## 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: