niminst: restore ZIP building functionality (#15472)
This is necessary for building Windows releases, was erroneously removed by #15451.
This commit is contained in:
parent
0a05176057
commit
dcd0ce1775
1 changed files with 5 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ type
|
||||||
actionInno, # action: create Inno Setup installer
|
actionInno, # action: create Inno Setup installer
|
||||||
actionNsis, # action: create NSIS installer
|
actionNsis, # action: create NSIS installer
|
||||||
actionScripts # action: create install and deinstall scripts
|
actionScripts # action: create install and deinstall scripts
|
||||||
|
actionZip # action: create zip file
|
||||||
actionXz, # action: create xz file
|
actionXz, # action: create xz file
|
||||||
actionDeb # action: prepare deb package
|
actionDeb # action: prepare deb package
|
||||||
|
|
||||||
|
|
@ -139,6 +140,7 @@ Usage:
|
||||||
Command:
|
Command:
|
||||||
csource build C source code for source based installations
|
csource build C source code for source based installations
|
||||||
scripts build install and deinstall scripts
|
scripts build install and deinstall scripts
|
||||||
|
zip build the ZIP file
|
||||||
inno build the Inno Setup installer
|
inno build the Inno Setup installer
|
||||||
nsis build the NSIS Setup installer
|
nsis build the NSIS Setup installer
|
||||||
deb create files for debhelper
|
deb create files for debhelper
|
||||||
|
|
@ -167,6 +169,7 @@ proc parseCmdLine(c: var ConfigData) =
|
||||||
case a
|
case a
|
||||||
of "csource": incl(c.actions, actionCSource)
|
of "csource": incl(c.actions, actionCSource)
|
||||||
of "scripts": incl(c.actions, actionScripts)
|
of "scripts": incl(c.actions, actionScripts)
|
||||||
|
of "zip": incl(c.actions, actionZip)
|
||||||
of "xz": incl(c.actions, actionXz)
|
of "xz": incl(c.actions, actionXz)
|
||||||
of "inno": incl(c.actions, actionInno)
|
of "inno": incl(c.actions, actionInno)
|
||||||
of "nsis": incl(c.actions, actionNsis)
|
of "nsis": incl(c.actions, actionNsis)
|
||||||
|
|
@ -721,6 +724,8 @@ proc main() =
|
||||||
srcdist(c)
|
srcdist(c)
|
||||||
if actionScripts in c.actions:
|
if actionScripts in c.actions:
|
||||||
writeInstallScripts(c)
|
writeInstallScripts(c)
|
||||||
|
if actionZip in c.actions:
|
||||||
|
xzDist(c, true)
|
||||||
if actionXz in c.actions:
|
if actionXz in c.actions:
|
||||||
xzDist(c)
|
xzDist(c)
|
||||||
if actionDeb in c.actions:
|
if actionDeb in c.actions:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue