WIP parsing

This commit is contained in:
2025-07-22 13:43:27 -06:00
parent 38eab409c6
commit 95d94c1e23
2 changed files with 658 additions and 115 deletions
+6 -6
View File
@@ -80,12 +80,12 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
const check = b.step("check", "Check if project compiles and tests pass, used by Zig Language Server");
const check_unit_tests = b.addTest(.{
.root_module = exe_mod,
});
// add unit tests to check step (gives lsp semantics in tests, but can result in no semantics)
// const check_unit_tests = b.addTest(.{
// .root_module = exe_mod,
// });
// const run_check_unit_tests = b.addRunArtifact(check_unit_tests);
// check.dependOn(&run_check_unit_tests.step);
const run_check_unit_tests = b.addRunArtifact(check_unit_tests);
check.dependOn(&run_check_unit_tests.step);
check.dependOn(&exe_check.step);
}