2021-06-11 11:45:43 +03:00
|
|
|
# ZIP Using
|
2020-11-19 10:14:43 +03:00
|
|
|
|
2021-06-11 11:45:43 +03:00
|
|
|
General rules for using ZIP
|
2020-11-19 10:14:43 +03:00
|
|
|
|
2021-06-11 11:45:43 +03:00
|
|
|
|
|
|
|
Available from version CQtDeployer 1.5
|
2020-11-19 10:14:43 +03:00
|
|
|
|
|
|
|
### How to use zip option
|
|
|
|
|
|
|
|
Just add to cqtdeployer option "zip".
|
|
|
|
|
2021-06-11 11:45:43 +03:00
|
|
|
### For example:
|
2020-11-19 10:14:43 +03:00
|
|
|
|
2021-06-11 11:45:43 +03:00
|
|
|
```bash
|
|
|
|
cqtdeployer ... zip
|
2020-11-19 10:14:43 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
Where:
|
|
|
|
* **...** - is list of other options.
|
|
|
|
* **zip** - option for use zip arhives.
|
|
|
|
|
|
|
|
|
|
|
|
By default, cqtdeployer will create one zip arhive.
|
2021-04-12 14:57:17 +03:00
|
|
|
If you want create multi package destribution, you should use [Controll of packages options](Options.md)
|
2020-11-19 10:14:43 +03:00
|
|
|
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.
|
|
|
|
|
2021-04-12 14:57:17 +03:00
|
|
|
Or you can describe packages in [configuration file](DeployConfigFile.md)
|
2020-11-19 10:14:43 +03:00
|
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"targetPackage": [
|
|
|
|
[
|
|
|
|
"package",
|
|
|
|
"tar1"
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"zip": true
|
|
|
|
}
|
|
|
|
```
|