mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05: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:
parent
c656536d3f
commit
647a24afae
2 changed files with 3 additions and 3 deletions
|
@ -875,7 +875,7 @@ const PrintStep = struct {
|
||||||
self.* = .{
|
self.* = .{
|
||||||
.step = Step.init(.{
|
.step = Step.init(.{
|
||||||
.id = .custom,
|
.id = .custom,
|
||||||
.name = "Print",
|
.name = "print",
|
||||||
.owner = owner,
|
.owner = owner,
|
||||||
.makeFn = make,
|
.makeFn = make,
|
||||||
}),
|
}),
|
||||||
|
@ -904,7 +904,7 @@ const SkipStep = struct {
|
||||||
self.* = .{
|
self.* = .{
|
||||||
.step = Step.init(.{
|
.step = Step.init(.{
|
||||||
.id = .custom,
|
.id = .custom,
|
||||||
.name = "Skip",
|
.name = owner.fmt("skip {s}", .{exercise.main_file}),
|
||||||
.owner = owner,
|
.owner = owner,
|
||||||
.makeFn = make,
|
.makeFn = make,
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -109,7 +109,7 @@ const PatchStep = struct {
|
||||||
self.* = .{
|
self.* = .{
|
||||||
.step = Step.init(.{
|
.step = Step.init(.{
|
||||||
.id = .custom,
|
.id = .custom,
|
||||||
.name = "Patch",
|
.name = owner.fmt("patch {s}", .{exercise.main_file}),
|
||||||
.owner = owner,
|
.owner = owner,
|
||||||
.makeFn = make,
|
.makeFn = make,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue