aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-05-01 18:23:13 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-05-01 18:39:54 +0200
commita86d4c279577cb263d83f33d9d9606eeafda05ab (patch)
treee4ba580d8f44bece9d003ca45aa0786a7b21fa81
parent5c20e2b55338e829b2c2db2bbd5b1fe410b656af (diff)
build: don't override the top level steps
When running `zig build -Dn=n`, the install and uninstall steps where overridden in order to improve the description. In recent version of Zig this is no longer allowed.
-rw-r--r--build.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/build.zig b/build.zig
index e1f5556..383a231 100644
--- a/build.zig
+++ b/build.zig
@@ -147,12 +147,6 @@ pub fn build(b: *Build) !void {
test_step.dependOn(&run_step.step);
}
- const install_step = b.step("install", b.fmt("Install {s} to prefix path", .{ex.main_file}));
- install_step.dependOn(b.getInstallStep());
-
- const uninstall_step = b.step("uninstall", b.fmt("Uninstall {s} from prefix path", .{ex.main_file}));
- uninstall_step.dependOn(b.getUninstallStep());
-
const verify_step = ZiglingStep.create(b, ex, work_path);
const zigling_step = b.step("zigling", b.fmt("Check the solution of {s}", .{ex.main_file}));