aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index cb43d76..59c2f26 100644
--- a/build.zig
+++ b/build.zig
@@ -42,6 +42,10 @@ pub fn build(b: *std.Build) void {
const run_tests = b.addRunArtifact(tests);
test_step.dependOn(&run_tests.step);
+ const interface_step = b.step("interface", "Check interface (compile tests only)");
+ const check_interface = b.addInstallArtifact(tests, .{});
+ interface_step.dependOn(&check_interface.step);
+
const run_step = b.step("run", "Run the app");
const run_cmd = b.addRunArtifact(exe);