feat(install,ide): self-extracting installers and install tasks
This commit is contained in:
1 parent
83ec08390f
commit
d23a878eec
9 files changed
+232
-5
No files matched your search
@@ -874,6 +874,21 @@ generate_ide_configs(const Graph::BuildGraph &graph, const IdeConfigOptions &opt
|
||||
vs_tasks.push_back(make_vs_task("vbs: refresh compile_commands.json",
|
||||
{"compdb", "export", "--profile", graph.profile.name}, "",
|
||||
false));
|
||||
vs_tasks.push_back(make_vs_task(
|
||||
"vbs: install",
|
||||
{"install", "--profile", graph.profile.name, "--prefix",
|
||||
(options.build_root / "install").string(),
|
||||
"--bundle-dependencies",
|
||||
"--archive", (options.build_root / "install" / "installer.tar").string()},
|
||||
"", false));
|
||||
vs_tasks.push_back(make_vs_task(
|
||||
"vbs: package installer",
|
||||
{"install", "--profile", graph.profile.name, "--prefix",
|
||||
(options.build_root / "install").string(),
|
||||
"--bundle-dependencies",
|
||||
"--archive", (options.build_root / "install" / "installer.sh").string(),
|
||||
"--archive-format", "sh"},
|
||||
"", false));
|
||||
for (const auto &tname : buildable_targets) {
|
||||
vs_tasks.push_back(make_vs_task(
|
||||
"vbs: build " + tname,
|
||||
@@ -964,6 +979,10 @@ generate_ide_configs(const Graph::BuildGraph &graph, const IdeConfigOptions &opt
|
||||
ztasks.push_back(make_zed_task("vbs: build", {"build", "--profile", graph.profile.name}));
|
||||
ztasks.push_back(make_zed_task("vbs: test", {"test", "--profile", graph.profile.name}));
|
||||
ztasks.push_back(make_zed_task("vbs: clean", {"clean"}));
|
||||
ztasks.push_back(make_zed_task(
|
||||
"vbs: install",
|
||||
{"install", "--profile", graph.profile.name, "--prefix",
|
||||
(options.build_root / "install").string(), "--bundle-dependencies"}));
|
||||
for (const auto &rt : runnables) {
|
||||
ztasks.push_back(
|
||||
make_zed_task("vbs: build " + rt.name,
|
||||
|
||||
Reference in new issue
Block a user