From 927871c59ea1fe43469cb18c1c202658529eecab Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 1 Jul 2024 18:54:58 -0700 Subject: [PATCH] add check step for usage with zls --- build.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.zig b/build.zig index b3398fd..53b1a5f 100644 --- a/build.zig +++ b/build.zig @@ -211,5 +211,7 @@ pub fn build(b: *Builder) !void { test_step.dependOn(&run_unit_tests.step); } + const check = b.step("check", "Check compilation errors"); + check.dependOn(&exe.step); b.installArtifact(exe); }