mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
Updated to master build 0.9.0-dev.137
This commit is contained in:
parent
e47dccf245
commit
18335d519d
1 changed files with 2 additions and 2 deletions
|
@ -556,7 +556,7 @@ pub fn build(b: *Builder) void {
|
||||||
named_verify.dependOn(&verify_step.step);
|
named_verify.dependOn(&verify_step.step);
|
||||||
|
|
||||||
const chain_verify = b.allocator.create(Step) catch unreachable;
|
const chain_verify = b.allocator.create(Step) catch unreachable;
|
||||||
chain_verify.* = Step.initNoOp(.Custom, b.fmt("chain {s}", .{key}), b.allocator);
|
chain_verify.* = Step.initNoOp(.custom, b.fmt("chain {s}", .{key}), b.allocator);
|
||||||
chain_verify.dependOn(&verify_step.step);
|
chain_verify.dependOn(&verify_step.step);
|
||||||
|
|
||||||
const named_chain = b.step(b.fmt("{s}_start", .{key}), b.fmt("Check all solutions starting at {s}", .{ex.main_file}));
|
const named_chain = b.step(b.fmt("{s}_start", .{key}), b.fmt("Check all solutions starting at {s}", .{ex.main_file}));
|
||||||
|
@ -583,7 +583,7 @@ const ZiglingStep = struct {
|
||||||
pub fn create(builder: *Builder, exercise: Exercise, use_healed: bool) *@This() {
|
pub fn create(builder: *Builder, exercise: Exercise, use_healed: bool) *@This() {
|
||||||
const self = builder.allocator.create(@This()) catch unreachable;
|
const self = builder.allocator.create(@This()) catch unreachable;
|
||||||
self.* = .{
|
self.* = .{
|
||||||
.step = Step.init(.Custom, exercise.main_file, builder.allocator, make),
|
.step = Step.init(.custom, exercise.main_file, builder.allocator, make),
|
||||||
.exercise = exercise,
|
.exercise = exercise,
|
||||||
.builder = builder,
|
.builder = builder,
|
||||||
.use_healed = use_healed,
|
.use_healed = use_healed,
|
||||||
|
|
Loading…
Reference in a new issue