mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
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.
This commit is contained in:
@@ -44,7 +44,6 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
|
|
||||||
// run
|
// run
|
||||||
const run_cmd = b.addRunArtifact(exe);
|
const run_cmd = b.addRunArtifact(exe);
|
||||||
run_cmd.step.dependOn(b.getInstallStep());
|
|
||||||
if (b.args) |args| {
|
if (b.args) |args| {
|
||||||
run_cmd.addArgs(args);
|
run_cmd.addArgs(args);
|
||||||
}
|
}
|
||||||
@@ -68,7 +67,6 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
|
|
||||||
// run
|
// run
|
||||||
const shell_cmd = b.addRunArtifact(shell);
|
const shell_cmd = b.addRunArtifact(shell);
|
||||||
shell_cmd.step.dependOn(b.getInstallStep());
|
|
||||||
if (b.args) |args| {
|
if (b.args) |args| {
|
||||||
shell_cmd.addArgs(args);
|
shell_cmd.addArgs(args);
|
||||||
}
|
}
|
||||||
@@ -108,7 +106,6 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
|
|
||||||
// run
|
// run
|
||||||
const wpt_cmd = b.addRunArtifact(wpt);
|
const wpt_cmd = b.addRunArtifact(wpt);
|
||||||
wpt_cmd.step.dependOn(b.getInstallStep());
|
|
||||||
if (b.args) |args| {
|
if (b.args) |args| {
|
||||||
wpt_cmd.addArgs(args);
|
wpt_cmd.addArgs(args);
|
||||||
}
|
}
|
||||||
@@ -131,7 +128,6 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
|
|
||||||
// run
|
// run
|
||||||
const get_cmd = b.addRunArtifact(get);
|
const get_cmd = b.addRunArtifact(get);
|
||||||
get_cmd.step.dependOn(b.getInstallStep());
|
|
||||||
if (b.args) |args| {
|
if (b.args) |args| {
|
||||||
get_cmd.addArgs(args);
|
get_cmd.addArgs(args);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user