fix: build step check
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 54s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 54s
This commit is contained in:
@@ -84,12 +84,11 @@ pub fn build(b: *std.Build) void {
|
|||||||
|
|
||||||
const exe_check = b.addExecutable(.{
|
const exe_check = b.addExecutable(.{
|
||||||
.name = "check",
|
.name = "check",
|
||||||
.root_source_file = b.path("src/zterm.zig"),
|
.root_source_file = b.path("examples/tui.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
exe_check.root_module.addImport("interface", interface.module("interface"));
|
exe_check.root_module.addImport("zterm", lib);
|
||||||
exe_check.root_module.addImport("code_point", zg.module("code_point"));
|
|
||||||
|
|
||||||
const check = b.step("check", "Check if project compiles");
|
const check = b.step("check", "Check if project compiles");
|
||||||
check.dependOn(&exe_check.step);
|
check.dependOn(&exe_check.step);
|
||||||
|
|||||||
Reference in New Issue
Block a user