summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 666e792d..334d3705 100644
--- a/build.zig
+++ b/build.zig
@@ -1097,6 +1097,13 @@ pub fn build(b: *std.Build) void {
const hxparity_step = b.step("hxparity", "run the file-vs-pty editing parity suite (-- [--waivers w.jsonl] <cases.jsonl>...)");
hxparity_step.dependOn(&run_hxparity.step);
+ // every helix-golf example, one case per step of its walkthrough
+ const run_hxgolf = b.addRunArtifact(hxdiff);
+ run_hxgolf.has_side_effects = true;
+ run_hxgolf.addArgs(&.{ "--strict", "test/hxcases/golf.jsonl", "test/hxcases/golf-goldens.jsonl" });
+ run_hxgolf.setCwd(b.path("."));
+ b.step("hxgolf", "compare the helix-golf examples against their Helix results").dependOn(&run_hxgolf.step);
+
const lspbench = b.addExecutable(.{
.name = "pardes-lspbench",
.root_module = b.createModule(.{