Skip to content

Commit

Permalink
update docs with new concept of the packages
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Feb 19, 2021
1 parent 250c926 commit 6e0e22f
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 33 deletions.
3 changes: 0 additions & 3 deletions Deploy/assets/BaseEnvirement.bat

This file was deleted.

4 changes: 0 additions & 4 deletions Deploy/assets/BaseEnvirement.sh

This file was deleted.

5 changes: 0 additions & 5 deletions Deploy/configparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,6 @@ void ConfigParser::initBasePackages() {
if (QuasarAppUtils::Params::isEndable("noBase")) {
return;
}

QString base = DeployCore::getBasePackageName(_config.packages().keys());

newPackage(base, {":/assets/assets/BaseEnvirement.bat",
":/assets/assets/BaseEnvirement.sh"});
}

bool ConfigParser::initRunScripts() {
Expand Down
1 change: 0 additions & 1 deletion Deploy/configparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class DEPLOYSHARED_EXPORT ConfigParser
bool loadFromFile(const QString& file);
bool initDistroStruct();
bool initPackages();
void initBasePackages();
bool initRunScripts();
bool parseDeployMode();
bool parseInfoMode();
Expand Down
12 changes: 6 additions & 6 deletions Deploy/deploycore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ void DeployCore::help() {
{"-runScript [list,parems]", "forces cqtdeployer swap default run script to new from the arguments of option."
" This option copy all content from input file and insert all code into runScript.sh or .bat"
" Example of use: cqtdeployer -runScript \"myTargetMame;path/to/my/myCustomLaunchScript.sh,myTargetSecondMame;path/to/my/mySecondCustomLaunchScript.sh\""},
{"-qmlOut [path]", "Sets path to qml out directory"},
{"-libOut [path]", "Sets path to libraries out directory"},
{"-trOut [path]", "Sets path to translations out directory"},
{"-pluginOut [path]", "Sets path to plugins out directory"},
{"-binOut [path]", "Sets path to binary out directory"},
{"-recOut [path]", "Sets path to recurses out directory"},

{"-verbose [0-3]", "Shows debug log"},

Expand All @@ -254,12 +260,6 @@ void DeployCore::help() {
"Part 3 Control of packages options", {
{"-targetPackage [package;tar1,package;tar2]", "Creates a new package and adds 'tar1 and tar2' to it."
"If you want configure the package that do not have any targets use the allowEmptyPackages option."},
{"-qmlOut [package;path,path]", "Sets path to qml out directory"},
{"-libOut [package;path,path]", "Sets path to libraries out directory"},
{"-trOut [package;path,path]", "Sets path to translations out directory"},
{"-pluginOut [package;path,path]", "Sets path to plugins out directory"},
{"-binOut [package;path,path]", "Sets path to binary out directory"},
{"-recOut [package;path,path]", "Sets path to recurses out directory"},
{"-extraDataOut [package;path,path]", "Sets path to extra data files out directory. By Default it is root dir of the distribution."},
{"-name [package;val,val]", "Sets name for a package. "
"If this if you do not specify a package, the value will be assigned to the default package ("")"},
Expand Down
12 changes: 6 additions & 6 deletions docs/en/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,19 @@ cqtdeployer -option1 value1 -option2 list, of, values ​​flag1 flag2 flag3
| -recursiveDepth [params] | Sets the Depth of recursive search of libs and ignoreEnv (default 0) |
| -targetDir [params] | Sets target directory(by default it is the path to the first deployable file)|
| -runScript [list,parems] | forces cqtdeployer swap default run script to new from the arguments of option. This option copy all content from input file and insert all code into runScript.sh or .bat. Example of use: cqtdeployer -runScript "myTargetMame;path/to/my/myCustomLaunchScript.sh,myTargetSecondMame;path/to/my/mySecondCustomLaunchScript.sh"|
| -qmlOut [path] | Sets path to qml out directory |
| -libOut [path] | Sets path to libraries out directory |
| -trOut [path] | Sets path to translations out directory |
| -pluginOut [path] | Sets path to plugins out directory |
| -binOut [path] | Sets path to binary out directory |
| -recOut [path] | Sets path to recurses out directory |
| -verbose [0-3] | Shows debug log |

### Controll of packages options

| Option | Descriptiion |
|-----------------------------|-----------------------------------------------------------|
| -targetPackage [package;tar1,package;tar2]| Creates a new package and adds 'tar1 and tar2' to it |
| -qmlOut [package;path,path] | Sets path to qml out directory |
| -libOut [package;path,path] | Sets path to libraries out directory |
| -trOut [package;path,path] | Sets path to translations out directory |
| -pluginOut [package;path,path]| Sets path to plugins out directory |
| -binOut [package;path,path] | Sets path to binary out directory |
| -recOut [package;path,path] | Sets path to recurses out directory |
| -extraDataOut [package;path,path] | Sets path to extra data files out directory. By Default it is root dir of the distribution. |
| -name [package;val,val] | Sets name for package. If this if you do not specify a package, the value will be assigned to the default package ("")|
| -description [package;val,val] | Sets description for package |
Expand Down
16 changes: 8 additions & 8 deletions docs/ru/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,24 +75,24 @@ cqtdeployer -option1 value1 -option2 list,of,values flag1 flag2 flag3
| -extraPlugin [list,params] | Устанавливает дополнительный путь для extraPlugin приложения|
| -recursiveDepth [params] | Устанавливает глубину поиска библиотек и глубину игнорирования окружения для ignoreEnv (по умолчанию 0) |
| -targetDir [params] | Устанавливает целевой каталог (по умолчанию это путь к первому развертываемому файлу)|
| -runScript [list,parems] | заставляет cqtdeployer заменить сценарий запуска по умолчанию на новый из аргументов параметра. Эта опция копирует все содержимое из входного файла и вставляет весь код в runScript.sh или .bat. Пример использования: cqtdeployer -runScript "myTargetMame;path/to/my/myCustomLaunchScript.sh,myTargetSecondMame;path/to/my/mySecondCustomLaunchScript.sh"|
| -runScript [list,parems] | заставляет cqtdeployer заменить сценарий запуска по умолчанию на новый из аргументов параметра. Эта опция копирует все содержимое из входного файла и вставляет весь код в runScript.sh или .bat. Пример использования: cqtdeployer -runScript "myTargetMame;path/to/my/myCustomLaunchScript.sh,myTargetSecondMame;path/to/my/mySecondCustomLaunchScript.sh"|
| -qmlOut [path] | Установит путь к папке с qml |
| -libOut [path] | Установит путь к папке с зависимостями |
| -trOut [path] | Установит путь к папке с файламми переводов |
| -pluginOut [path] | Установит путь к папке с плагинами |
| -binOut [path] | Установит путь к папке с исполняемыми файлами |
| -recOut [path] | Установит путь к папке с ресурсами |
| -verbose [0-3] | Показывает дебаг лога |

### Параметры управлениями пакетами:

| Option | Descriptiion |
|-----------------------------|-----------------------------------------------------------|
| -targetPackage [package;tar1,package;tar2]| Создает новый пакет и добавляет в него 'tar1 и tar2'|
| -qmlOut [package;path,path] | Установит путь к папке с qml |
| -libOut [package;path,path] | Установит путь к папке с зависимостями |
| -trOut [package;path,path] | Установит путь к папке с файламми переводов |
| -pluginOut [package;path,path]| Установит путь к папке с плагинами |
| -binOut [package;path,path] | Установит путь к папке с исполняемыми файлами |
| -recOut [package;path,path] | Установит путь к папке с ресурсами |
| -extraDataOut [package;path,path] | Устанавливает путь к каталогу с дополнительными файлами данных. По умолчанию это корневой каталог дистрибутива. |
| -name [package;val,val] | Установит имя префиксу. Если указать значение без префикса, то значение будет установленно префиксу по умолчанию. |
| -description [package;val,val] | Установит описание префиксу |
| -deployVersion [package;val,val]| Установит версию префиксу |
| -deployVersion [package;val,val]| Установит версию префиксу |
| -releaseDate [package;val,val] | Установит дату выпуска префиксу |
| -icon [package;val,val] | Установит путь к иконке или логотипу префиксу |
| -publisher [package;val,val]| Установит Издательство (автора) префиксу |
Expand Down

0 comments on commit 6e0e22f

Please sign in to comment.