mirror of https://github.com/linuxdeepin/linglong
fix: some buildflag has uncertain value
Fully initialize those options. Log:
This commit is contained in:
parent
f9ae16f25d
commit
7d848ab3a5
|
|
@ -214,8 +214,20 @@ You can report bugs to the linyaps team under this project: https://github.com/O
|
|||
""
|
||||
};
|
||||
|
||||
CliOptions options;
|
||||
options.type = "app";
|
||||
CliOptions options = CliOptions{ .filePath = "",
|
||||
.fileUrl = "",
|
||||
.workDir = "",
|
||||
.appid = "",
|
||||
.instance = "",
|
||||
.module = "",
|
||||
.type = "app",
|
||||
.repoName = "",
|
||||
.repoUrl = "",
|
||||
.commands = {},
|
||||
.showDevel = false,
|
||||
.showUpgradeList = false,
|
||||
.forceOpt = false,
|
||||
.confirmOpt = false };
|
||||
|
||||
// groups
|
||||
std::string CliBuildInGroup = _("Managing installed applications and runtimes");
|
||||
|
|
|
|||
|
|
@ -27,9 +27,13 @@ struct BuilderBuildOptions
|
|||
{
|
||||
// 兼容选项,在制作runtime时构建全量develop, 以兼容旧版本linglong-builder使用
|
||||
// TODO 后续版本删除该选项
|
||||
bool fullDevelop;
|
||||
bool skipFetchSource, skipPullDepend, skipRunContainer, skipCommitOutput, skipCheckOutput,
|
||||
skipStripSymbols;
|
||||
bool fullDevelop {false};
|
||||
bool skipFetchSource {false};
|
||||
bool skipPullDepend {false};
|
||||
bool skipRunContainer {false};
|
||||
bool skipCommitOutput {false};
|
||||
bool skipCheckOutput {false};
|
||||
bool skipStripSymbols {false};
|
||||
};
|
||||
|
||||
class Builder
|
||||
|
|
|
|||
Loading…
Reference in New Issue