build: do not force install/build of core- examples
CoreApp users can call b.installArtifact(app.compile) themselves if they desire that behavior Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
182c6a9180
commit
393320aa68
1 changed files with 0 additions and 2 deletions
|
|
@ -421,7 +421,6 @@ pub const CoreApp = struct {
|
||||||
compile.root_module.addImport("app", app_module);
|
compile.root_module.addImport("app", app_module);
|
||||||
|
|
||||||
// Installation step
|
// Installation step
|
||||||
app_builder.installArtifact(compile);
|
|
||||||
const install = app_builder.addInstallArtifact(compile, .{});
|
const install = app_builder.addInstallArtifact(compile, .{});
|
||||||
if (options.res_dirs) |res_dirs| {
|
if (options.res_dirs) |res_dirs| {
|
||||||
for (res_dirs) |res| {
|
for (res_dirs) |res| {
|
||||||
|
|
@ -770,7 +769,6 @@ fn buildCoreExamples(
|
||||||
|
|
||||||
const install_step = b.step("core-" ++ cmd_name, "Install core-" ++ cmd_name);
|
const install_step = b.step("core-" ++ cmd_name, "Install core-" ++ cmd_name);
|
||||||
install_step.dependOn(&app.install.step);
|
install_step.dependOn(&app.install.step);
|
||||||
b.getInstallStep().dependOn(install_step);
|
|
||||||
|
|
||||||
const run_step = b.step("run-core-" ++ cmd_name, "Run core-" ++ cmd_name);
|
const run_step = b.step("run-core-" ++ cmd_name, "Run core-" ++ cmd_name);
|
||||||
run_step.dependOn(&app.run.step);
|
run_step.dependOn(&app.run.step);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue