build: added zig build interface for cross platform interface checking using comptime`

This commit is contained in:
Grace Yoder 2026-06-30 10:44:34 -06:00
parent 9a377fa209
commit 8062e417f2
Signed by: grace
SSH key fingerprint: SHA256:oG9v0ZlohsoMAg083HAwBGOcaPLF3nIuOlAW4MtASMo

View file

@ -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);