1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-18 01:36:05 +02:00

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.
This commit is contained in:
Manlio Perillo 2023-04-09 18:48:19 +02:00
parent a16d16bfd6
commit edcb74a52b
2 changed files with 3 additions and 3 deletions

View File

@ -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,
}),

View File

@ -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,
}),