aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorManlio Perillo <[email protected]>2023-04-09 18:48:19 +0200
committerManlio Perillo <[email protected]>2023-04-11 12:45:55 +0200
commit647a24afae436d9d10ff731c7110448d6be00ccf (patch)
tree0fcae467cc24fd0e2b9cb9008b5e3ad6c19b6fc2 /build.zig
parentc656536d3f322be31fffd88daa9a43683b11f693 (diff)
downloadziglings-647a24afae436d9d10ff731c7110448d6be00ccf.tar.xz
ziglings-647a24afae436d9d10ff731c7110448d6be00ccf.zip
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.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 3281ed4..32ce74a 100644
--- a/build.zig
+++ b/build.zig
@@ -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,
}),