tests(Clip): added explicit interface checking

This commit is contained in:
Grace Yoder 2026-06-24 17:48:16 -06:00
parent 47f2491ae0
commit ecdcf0c0b8
Signed by: grace
SSH key fingerprint: SHA256:oG9v0ZlohsoMAg083HAwBGOcaPLF3nIuOlAW4MtASMo
2 changed files with 42 additions and 0 deletions

View file

@ -14,6 +14,19 @@ pub fn build(b: *std.Build) void {
b.installArtifact(exe);
const tests = b.addTest(.{
.name = "tpb",
.root_module = b.createModule(.{
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
}),
});
const test_step = b.step("test", "Run tests");
const run_tests = b.addRunArtifact(tests);
test_step.dependOn(&run_tests.step);
const run_step = b.step("run", "Run the app");
const run_cmd = b.addRunArtifact(exe);