diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1346,6 +1346,14 @@ pub fn build(b: *std.Build) void { // runs each case in a file pane and a pty pane and compares the two. run_hxdiff.addPassthruArgs(); run_hxdiff.setCwd(b.path(".")); + // the new line's indent per file type, against the reference helix + // with its grammars (test/hxcases/hx_indent.py): before the suite, + // whose count stays the last line + const run_hxindent = b.addRunArtifact(hxdiff); + run_hxindent.has_side_effects = true; + run_hxindent.addArgs(&.{ "--strict", "test/hxcases/indent.jsonl", "test/hxcases/indent-goldens.jsonl" }); + run_hxindent.setCwd(b.path(".")); + run_hxdiff.step.dependOn(&run_hxindent.step); const hxdiff_step = b.step("hxdiff", "compare Helix results (-- --strict cases reference [waivers]; cases alone emits; --parity: a pty pane against a file pane)"); hxdiff_step.dependOn(&run_hxdiff.step); |
