preparations for version 0.11.0
This commit is contained in:
parent
d40098ad82
commit
a4f8a89c85
8 changed files with 467 additions and 349 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue