46 lines
951 B
Markdown
Raw Normal View History

2020-11-19 10:14:43 +03:00
## General rules for using ZIP
#### Available from version CQtDeployer 1.5
### How to use zip option
Just add to cqtdeployer option "zip".
#### For example:
``` bash
cqtdeployer ... zip
```
Where:
* **...** - is list of other options.
* **zip** - option for use zip arhives.
By default, cqtdeployer will create one zip arhive.
If you want create multi package destribution, you should use [Controll of packages options](https://github.com/QuasarApp/CQtDeployer/wiki/Options)
To create a new package, use the -targetPackage [package; tar1] option
cqtdeployer create zip arhive for each packages.
Where:
* **package** - it is package name
* **tar1** - it is name of the target that should be included in this package.
Or you can describe packages in [configuration file](https://github.com/QuasarApp/CQtDeployer/wiki/DeployConfigFileEn)
```json
{
"targetPackage": [
[
"package",
"tar1"
],
],
"zip": true
}
```