diff options
author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-09 18:48:19 +0200 |
---|---|---|
committer | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-11 12:45:55 +0200 |
commit | 647a24afae436d9d10ff731c7110448d6be00ccf (patch) | |
tree | 0fcae467cc24fd0e2b9cb9008b5e3ad6c19b6fc2 | |
parent | c656536d3f322be31fffd88daa9a43683b11f693 (diff) |
build: improve PrintStep, SkipStep and PatchStep names
Use lover case for the step names.
Add the exercise name for the SkipStep and PatchStep step name.
-rw-r--r-- | build.zig | 4 | ||||
-rw-r--r-- | test/tests.zig | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -875,7 +875,7 @@ const PrintStep = struct { self.* = .{ .step = Step.init(.{ .id = .custom, - .name = "Print", + .name = "print", .owner = owner, .makeFn = make, }), @@ -904,7 +904,7 @@ const SkipStep = struct { self.* = .{ .step = Step.init(.{ .id = .custom, - .name = "Skip", + .name = owner.fmt("skip {s}", .{exercise.main_file}), .owner = owner, .makeFn = make, }), diff --git a/test/tests.zig b/test/tests.zig index 3de42db..c8f4af2 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -109,7 +109,7 @@ const PatchStep = struct { self.* = .{ .step = Step.init(.{ .id = .custom, - .name = "Patch", + .name = owner.fmt("patch {s}", .{exercise.main_file}), .owner = owner, .makeFn = make, }), |