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 c656536d3f
commit 647a24afae
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,
}),