home
tpb

repository View

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

change ID
ktworolnxkzvkvrkxsvxwzwzyrlsrnvo
git commit
8062e417f2c40cc45a422f8546b6dd76423cdb38
author
Grace Yoder <grace_yoder@outlook.com> - 2026-06-30T10:44:34-06:00
committer
Grace Yoder <grace_yoder@outlook.com> - 2026-06-30T16:33:26-06:00
parents
txqmlmtwqspt
refs
signature
Present (not validated)
build: added `zig build interface` for cross platform interface checking using comptime`

tree

type name size
file .crow/build.yml 2096 bytes
file .crow/release.yml 566 bytes
file .gitignore 354 bytes
file LICENSE 1073 bytes
file README.md 632 bytes
file build.zig 1782 bytes
file build.zig.zon 247 bytes
file src/Clip/NSPBBridge.m 382 bytes
file src/Clip/NSPasteboard.zig 1456 bytes
file src/Clip/OSC52.zig 4611 bytes
file src/Clip.zig 1506 bytes
file src/main.zig 2190 bytes

diff

build.zig

modified (file → file)

--- a/build.zig
+++ b/build.zig
@@ -42,6 +42,10 @@
     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);