diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-06-30 10:44:34 -0600 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-06-30 16:33:26 -0600 |
| commit | 8062e417f2c40cc45a422f8546b6dd76423cdb38 (patch) | |
| tree | 8ee99afe8189c0955275ec4f30b3a17c6f7d9d21 /build.zig | |
| parent | 9a377fa209cfecf53343247d197dc8578d6c2a1d (diff) | |
build: added `zig build interface` for cross platform interface checking using comptime`
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |
