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.
This commit is contained in:
Manlio Perillo 2023-05-01 18:23:13 +02:00
parent 5c20e2b553
commit a86d4c2795

View file

@ -147,12 +147,6 @@ pub fn build(b: *Build) !void {
test_step.dependOn(&run_step.step); 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 verify_step = ZiglingStep.create(b, ex, work_path);
const zigling_step = b.step("zigling", b.fmt("Check the solution of {s}", .{ex.main_file})); const zigling_step = b.step("zigling", b.fmt("Check the solution of {s}", .{ex.main_file}));