mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-19 21:09:36 +00:00
fix documentation aboud qifw
This commit is contained in:
parent
07a227e794
commit
d0e40a59c8
43
md/en/QIF.md
43
md/en/QIF.md
@ -130,4 +130,47 @@ cqtdeployer getDefaultTemplate qif
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Note
|
||||||
|
|
||||||
|
CQtDeployer will skip create a packages directory for the template because this commmnad do not contains any deploying data.
|
||||||
|
If you want to prepare template with packages configurations then you should add deployed data to your command or your config.json file using bin or extraData options.
|
||||||
|
If you create multi pacakges distribution then you need to configure your packages in your deploying commnad.
|
||||||
|
|
||||||
|
|
||||||
|
#### Example:
|
||||||
|
|
||||||
|
Extracting template with pacakges:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cqtdeployer getDefaultTemplate qif -bin myExecutable
|
||||||
|
```
|
||||||
|
|
||||||
|
Extracting template for multi packages distribution
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cqtdeployer getDefaultTemplate qif -bin myExecutable1,myExecutable2 -targetPackage p1;myExecutable1,p2;myExecutable2
|
||||||
|
```
|
||||||
|
|
||||||
|
You also can use the config file for configure templates.
|
||||||
|
|
||||||
|
Config.json
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"qif": true,
|
||||||
|
"bin": [
|
||||||
|
"myExecutable1",
|
||||||
|
"myExecutable2"
|
||||||
|
],
|
||||||
|
"targetPackage": [
|
||||||
|
["p1", "myExecutable1"],
|
||||||
|
["p2", "myExecutable2"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Run CQtDeployer for generate template:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cqtdeployer -confFile Config.json getDefaultTemplate
|
||||||
|
```
|
||||||
|
45
md/ru/QIF.md
45
md/ru/QIF.md
@ -128,3 +128,48 @@ cqtdeployer ... -qif /path/to/my/custom/qif/template -name myCustomInstaller
|
|||||||
```bash
|
```bash
|
||||||
cqtdeployer getDefaultTemplate qif
|
cqtdeployer getDefaultTemplate qif
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Примечание
|
||||||
|
|
||||||
|
CQtDeployer пропустит создание каталога пакетов для шаблона, поскольку эта команда не содержит данных для развертывания.
|
||||||
|
Если вы хотите подготовить шаблон с конфигурациями пакетов, вам следует добавить развернутые данные в свою команду или в файл config.json, используя параметры bin или extraData.
|
||||||
|
Если вы создаете дистрибутив с несколькими пакетами, вам необходимо настроить свои пакеты в развертываемой команде.
|
||||||
|
|
||||||
|
|
||||||
|
#### Пример:
|
||||||
|
|
||||||
|
Извлечение шаблона с пакетами:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cqtdeployer getDefaultTemplate qif -bin myExecutable
|
||||||
|
```
|
||||||
|
|
||||||
|
Извлечение шаблона для распространения нескольких пакетов
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cqtdeployer getDefaultTemplate qif -bin myExecutable1,myExecutable2 -targetPackage p1;myExecutable1,p2;myExecutable2
|
||||||
|
```
|
||||||
|
|
||||||
|
Вы также можете использовать файл конфигурации для настройки шаблонов.
|
||||||
|
|
||||||
|
Config.json
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"qif": true,
|
||||||
|
"bin": [
|
||||||
|
"myExecutable1",
|
||||||
|
"myExecutable2"
|
||||||
|
],
|
||||||
|
"targetPackage": [
|
||||||
|
["p1", "myExecutable1"],
|
||||||
|
["p2", "myExecutable2"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Запустите CQtDeployer для создания шаблона:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cqtdeployer -confFile Config.json getDefaultTemplate
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user