Skip to content

Commit 77436a1

Browse files
committed
build: fix the description of the named_install step
Replace the description of the named_install step from "Install {s} to zig-cache/bin" to "Copy {s} to prefix path". The latter has been adapded from the description of the builtin install step. Ad an empty line before the build_step variable, in order to improve readability.
1 parent 9354de0 commit 77436a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,8 @@ pub fn build(b: *Build) !void {
549549
const file_path = std.fs.path.join(b.allocator, &[_][]const u8{
550550
if (use_healed) "patches/healed" else "exercises", ex.main_file,
551551
}) catch unreachable;
552-
const build_step = b.addExecutable(.{ .name = base_name, .root_source_file = .{ .path = file_path } });
553552

553+
const build_step = b.addExecutable(.{ .name = base_name, .root_source_file = .{ .path = file_path } });
554554
build_step.install();
555555

556556
const verify_step = ZiglingStep.create(b, ex, use_healed);
@@ -561,7 +561,7 @@ pub fn build(b: *Build) !void {
561561
const run_step = build_step.run();
562562
named_test.dependOn(&run_step.step);
563563

564-
const named_install = b.step(b.fmt("{s}_install", .{key}), b.fmt("Install {s} to zig-cache/bin", .{ex.main_file}));
564+
const named_install = b.step(b.fmt("{s}_install", .{key}), b.fmt("Copy {s} to prefix path", .{ex.main_file}));
565565
named_install.dependOn(&build_step.install_step.?.step);
566566

567567
const named_verify = b.step(key, b.fmt("Check {s} only", .{ex.main_file}));

0 commit comments

Comments
 (0)