From 393320aa68a2fede179658070bd7b931b692a996 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 13 May 2024 21:15:39 +0200 Subject: [PATCH] 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 --- build.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.zig b/build.zig index 38ec6334..37f0b43c 100644 --- a/build.zig +++ b/build.zig @@ -421,7 +421,6 @@ pub const CoreApp = struct { compile.root_module.addImport("app", app_module); // Installation step - app_builder.installArtifact(compile); const install = app_builder.addInstallArtifact(compile, .{}); if (options.res_dirs) |res_dirs| { for (res_dirs) |res| { @@ -770,7 +769,6 @@ fn buildCoreExamples( const install_step = b.step("core-" ++ cmd_name, "Install core-" ++ cmd_name); install_step.dependOn(&app.install.step); - b.getInstallStep().dependOn(install_step); const run_step = b.step("run-core-" ++ cmd_name, "Run core-" ++ cmd_name); run_step.dependOn(&app.run.step);