preparations for version 0.11.0

This commit is contained in:
Araq 2015-04-30 02:01:38 +02:00
commit a4f8a89c85
8 changed files with 467 additions and 349 deletions

View file

@ -593,8 +593,9 @@ proc targzDist(c: var ConfigData) =
let oldDir = getCurrentDir()
setCurrentDir(tmpDir)
try:
if execShellCmd("7z a -ttar $1.tar $1" % proj) != 0 or
execShellCmd("7z a -tgzip $1.tar.gz $1.tar" % proj) != 0:
#if execShellCmd("7z a -ttar $1.tar $1" % proj) != 0 or
# execShellCmd("7z a -tgzip $1.tar.gz $1.tar" % proj) != 0 or
if execShellCmd("7z a -tzip $1.zip $1" % proj) != 0:
echo("External program failed")
finally:
setCurrentDir(oldDir)