summaryrefslogtreecommitdiff
path: root/build/snap.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-22 09:50:43 -0300
committerGabriel Schneider <[email protected]>2026-10-22 10:03:24 -0300
commita8b457a306a4442975210bcac3f04b56513c61c3 (patch)
tree6e2026ecb15da2fb919a0202f5d8b38e3b36a595 /build/snap.zig
parenta8a1499bdffffc5b6919e24ec957e92fabaf003b (diff)
parent7e9d2c4169245072265b483ffaa6aa05f23f08d3 (diff)
downloadpardes-a8b457a306a4442975210bcac3f04b56513c61c3.tar.gz
pardes-a8b457a306a4442975210bcac3f04b56513c61c3.zip
Merge: Def/Refs, the diff viewer, Helix n/N, Callstack, Zig 0.17, Window mode and the terminal cwd fix onto 0.24
The docs keep both sides: 0.24's Ctrl-i fallbacks and typed ls with this line's Window mode, raw Esc and Helix n/N wording. The CHANGELOG's unreleased entries go above 0.24, Def/Refs and the context rows among them. cheatsheet-a4.pdf rendered again; .scratch/ ignored. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'build/snap.zig')
-rw-r--r--build/snap.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/snap.zig b/build/snap.zig
index 7aa06884..35a246ad 100644
--- a/build/snap.zig
+++ b/build/snap.zig
@@ -44,7 +44,7 @@ pub fn addTty(b: *std.Build, opts: struct {
const run_snap = b.addRunArtifact(snap);
run_snap.addArtifactArg(opts.exe);
run_snap.addPrefixedFileArg("--lspmock=", lspmock.getEmittedBin());
- if (b.args) |args| run_snap.addArgs(args);
+ run_snap.addPassthruArgs();
// scripts fork children and drive real ptys: never cached, never "up to date"
run_snap.has_side_effects = true;
const snap_step = b.step("snap", "run the snapshot parity suite (-- --update regenerates goldens)");
@@ -63,7 +63,7 @@ pub fn addTty(b: *std.Build, opts: struct {
const run_monkey = b.addRunArtifact(monkey);
run_monkey.addArtifactArg(snap);
run_monkey.addArtifactArg(opts.exe);
- if (b.args) |args| run_monkey.addArgs(args);
+ run_monkey.addPassthruArgs();
run_monkey.has_side_effects = true;
b.step("monkey", "random snapshot scripts hunting panics (-- <seeds> [steps] [--from=N] [--out=DIR])").dependOn(&run_monkey.step);
const monkey_tests = b.addTest(.{ .root_module = monkey.root_module });
@@ -101,7 +101,7 @@ pub fn addWeb(b: *std.Build) void {
run_web_snap.step.dependOn(&build_web_snap.step);
run_web_snap.step.dependOn(&driver_test.step);
run_web_snap.has_side_effects = true;
- if (b.args) |args| run_web_snap.addArgs(args);
+ run_web_snap.addPassthruArgs();
b.step("web-snap", "run browser highlighting, touch, Look, resize and scroll checks").dependOn(&run_web_snap.step);
b.step("web-e2e", "run the Chrome-driven DOM end-to-end suite").dependOn(&run_web_snap.step);
}