build: show the logo in named mode

When running `zig build -Dn=n`, ensure that the logo is printed.

Update the tests.

Closes #214
This commit is contained in:
Manlio Perillo 2023-05-13 20:36:49 +02:00
parent 5bb9def802
commit f2c4d168a0
2 changed files with 13 additions and 0 deletions

View file

@ -153,8 +153,11 @@ pub fn build(b: *Build) !void {
b.fmt("Check the solution of {s}", .{ex.main_file}),
);
b.default_step = zigling_step;
zigling_step.dependOn(&header_step.step);
const verify_step = ZiglingStep.create(b, ex, work_path);
verify_step.step.dependOn(&header_step.step);
zigling_step.dependOn(&verify_step.step);
return;