summaryrefslogtreecommitdiffstatshomepage
path: root/build.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-05-13 20:36:49 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-05-14 17:22:03 +0200
commit0304dc3d37ba1e8443a8a1c835ad9c0988e4a3df (patch)
tree4bc69702b2e6d2dc3e5815cabe0eb5b9fb532b87 /build.zig
parentdc2539ec4e9435c9c5dec793ca1e5abcd8cd3014 (diff)
build: show the logo in named mode
When running `zig build -Dn=n`, ensure that the logo is printed. Update the tests. Closes #214
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 5f31d30..2170f1c 100644
--- a/build.zig
+++ b/build.zig
@@ -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;