mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-26 17:54:32 +00:00
1.5.0.27 beta
This commit is contained in:
parent
624d8a12f1
commit
ca9150d5da
@ -28,5 +28,12 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
Deploy deploy;
|
||||
return deploy.run();
|
||||
|
||||
int code = deploy.run();
|
||||
|
||||
if (code) {
|
||||
QuasarAppUtils::Params::log(Deploy::codeString(code), QuasarAppUtils::Error);
|
||||
}
|
||||
|
||||
return code;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ TEMPLATE = lib
|
||||
|
||||
DEFINES += DEPLOY_LIBRARY
|
||||
|
||||
VERSION = 1.5.0.26
|
||||
VERSION = 1.5.0.27
|
||||
|
||||
DEFINES += APP_VERSION='\\"$$VERSION\\"'
|
||||
|
||||
|
@ -73,6 +73,25 @@ Deploy::~Deploy() {
|
||||
DeployCore::_config = nullptr;
|
||||
}
|
||||
|
||||
QString Deploy::codeString(int code) {
|
||||
switch (code) {
|
||||
case exitCodes::DeployError: {
|
||||
return "The CQtDeployer fail to deploy application.";
|
||||
}
|
||||
case exitCodes::PackingError: {
|
||||
return "The CQtDeployer fail to Pack application.";
|
||||
}
|
||||
case exitCodes::PrepareError: {
|
||||
return "The CQtDeployer fail to read configuration.";
|
||||
}
|
||||
|
||||
default: return "";
|
||||
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
bool Deploy::prepare() {
|
||||
|
||||
|
||||
|
@ -50,6 +50,12 @@ public:
|
||||
int run();
|
||||
~Deploy();
|
||||
|
||||
/**
|
||||
* @brief codeString This method retun string message about input code.
|
||||
* @param code This is error code;
|
||||
* @return Message of code.
|
||||
*/
|
||||
static QString codeString(int code);
|
||||
friend class deploytest;
|
||||
};
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<WizardDefaultWidth>640px</WizardDefaultWidth>
|
||||
<WizardDefaultHeight>400px</WizardDefaultHeight>
|
||||
<Name>CQtDeployer</Name>
|
||||
<Version>1.5.0.26</Version>
|
||||
<Version>1.5.0.27</Version>
|
||||
<Title>CQtDeployer</Title>
|
||||
<Publisher>QuasarApp</Publisher>
|
||||
<StartMenuDir>CQtDeployer</StartMenuDir>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<WizardDefaultWidth>640px</WizardDefaultWidth>
|
||||
<WizardDefaultHeight>400px</WizardDefaultHeight>
|
||||
<Name>CQtDeployer</Name>
|
||||
<Version>1.5.0.26</Version>
|
||||
<Version>1.5.0.27</Version>
|
||||
<Title>CQtDeployer</Title>
|
||||
<Publisher>QuasarApp</Publisher>
|
||||
<StartMenuDir>CQtDeployer</StartMenuDir>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<Package>
|
||||
<DisplayName>CQtDeployer 1.5 Alpha</DisplayName>
|
||||
<Description>CQtDeployer 1.5 Alpha. Do not use this version because it is unstable and may lead to unwanted bugs or consequences. Use this version exclusively for testing new functionality.</Description>
|
||||
<Version>1.5.0.26</Version>
|
||||
<DisplayName>CQtDeployer 1.5 Beta</DisplayName>
|
||||
<Description>CQtDeployer 1.5 Beta. Do not use this version because it is unstable and may lead to unwanted bugs or consequences. Use this version exclusively for testing new functionality.</Description>
|
||||
<Version>1.5.0.27</Version>
|
||||
<Default>true</Default>
|
||||
<ForcedInstallation>false</ForcedInstallation>
|
||||
<Script>installscript.js</Script>
|
||||
<ReleaseDate>2021-02-28</ReleaseDate>
|
||||
<ReleaseDate>2021-04-07</ReleaseDate>
|
||||
<SortingPriority>201</SortingPriority>
|
||||
<Translations>
|
||||
<Translation>ru.qm</Translation>
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 681d2492db28ad494e67d5bd11de152a09195866
|
||||
Subproject commit d978f47ea5c4750184ae802e79f1f5bc18b95f2f
|
@ -703,7 +703,7 @@ FILE_VERSION_FILTER =
|
||||
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
|
||||
# tag is left empty.
|
||||
|
||||
LAYOUT_FILE = QuasarAppLib/DoxyStyle/DoxygenLayout.xml
|
||||
LAYOUT_FILE = QuasarAppLib/CMake/DoxyStyle/DoxygenLayout.xml
|
||||
|
||||
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
|
||||
# the reference definitions. This must be a list of .bib files. The .bib
|
||||
@ -1196,7 +1196,7 @@ HTML_STYLESHEET =
|
||||
# list). For an example see the documentation.
|
||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||
|
||||
HTML_EXTRA_STYLESHEET = QuasarAppLib/DoxyStyle/doxygenStyles.css
|
||||
HTML_EXTRA_STYLESHEET = QuasarAppLib/CMake/DoxyStyle/doxygenStyles.css
|
||||
|
||||
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
|
||||
# other source files which should be copied to the HTML output directory. Note
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Version=1.5.0.26
|
||||
Version=1.5.0.27
|
||||
Name=CQtDeployer
|
||||
Comment=CQtDeployer Help.
|
||||
Exec=cqtdeployer
|
||||
@ -10,6 +10,6 @@ Categories=Application;
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=CQtDeployer
|
||||
X-GNOME-Bugzilla-Component=General
|
||||
X-GNOME-Bugzilla-Version=1.5.0.26
|
||||
X-GNOME-Bugzilla-Version=1.5.0.27
|
||||
StartupNotify=true
|
||||
Name[ru_RU]=CQtDeployer
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
name: cqtdeployer # you probably want to 'snapcraft register <name>'
|
||||
version: '1.5.0.26' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
version: '1.5.0.27' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
summary: deploy your qt projects # 79 char long summary
|
||||
description: |
|
||||
Console app for deploy qt libs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user