fix: build step check
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 54s

This commit is contained in:
2024-11-19 22:12:06 +01:00
parent 1b8b3023c5
commit cd12fb12e6

View File

@@ -84,12 +84,11 @@ pub fn build(b: *std.Build) void {
const exe_check = b.addExecutable(.{
.name = "check",
.root_source_file = b.path("src/zterm.zig"),
.root_source_file = b.path("examples/tui.zig"),
.target = target,
.optimize = optimize,
});
exe_check.root_module.addImport("interface", interface.module("interface"));
exe_check.root_module.addImport("code_point", zg.module("code_point"));
exe_check.root_module.addImport("zterm", lib);
const check = b.step("check", "Check if project compiles");
check.dependOn(&exe_check.step);