From 20f25fc352e664b734f6a896ef06a653c922b9b9 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Thu, 28 Mar 2024 14:39:01 +0100 Subject: [PATCH] build: remove useless getInstallStep deps the dependance of getInstallStep is useful only if we need a previous binary to exists before using running the step. --- build.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build.zig b/build.zig index 5fbda732..bb6e8376 100644 --- a/build.zig +++ b/build.zig @@ -44,7 +44,6 @@ pub fn build(b: *std.build.Builder) !void { // run const run_cmd = b.addRunArtifact(exe); - run_cmd.step.dependOn(b.getInstallStep()); if (b.args) |args| { run_cmd.addArgs(args); } @@ -68,7 +67,6 @@ pub fn build(b: *std.build.Builder) !void { // run const shell_cmd = b.addRunArtifact(shell); - shell_cmd.step.dependOn(b.getInstallStep()); if (b.args) |args| { shell_cmd.addArgs(args); } @@ -108,7 +106,6 @@ pub fn build(b: *std.build.Builder) !void { // run const wpt_cmd = b.addRunArtifact(wpt); - wpt_cmd.step.dependOn(b.getInstallStep()); if (b.args) |args| { wpt_cmd.addArgs(args); } @@ -131,7 +128,6 @@ pub fn build(b: *std.build.Builder) !void { // run const get_cmd = b.addRunArtifact(get); - get_cmd.step.dependOn(b.getInstallStep()); if (b.args) |args| { get_cmd.addArgs(args); }