diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-10 17:32:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 685b8c8e74c9edbdf701594f50ff1b70ac288ec9 (patch) | |
| tree | f303bd5e1f422030c2c645ea2d6c3a393990fb5e /test/web-snapshots/source-list.golden | |
| parent | ddc2eefb1e7cdd402593efb1297c25fc7ae4b110 (diff) | |
| download | pardes-685b8c8e74c9edbdf701594f50ff1b70ac288ec9.tar.gz pardes-685b8c8e74c9edbdf701594f50ff1b70ac288ec9.zip | |
web snapshots: add switch for saving/loading exports, update web version, web snapshot tooling
Diffstat (limited to 'test/web-snapshots/source-list.golden')
| -rw-r--r-- | test/web-snapshots/source-list.golden | 190 |
1 files changed, 190 insertions, 0 deletions
diff --git a/test/web-snapshots/source-list.golden b/test/web-snapshots/source-list.golden new file mode 100644 index 00000000..d4321fbb --- /dev/null +++ b/test/web-snapshots/source-list.golden @@ -0,0 +1,190 @@ +== snap launcher grid=120x37 cursor=4,23 +|Kill Newcol Tutor Debug Colors NextColor Crt Dump +| TTY /home/goblin/00-projects/0x4200.cafe/02-pardes-code Del +| $ git ls-files '*.zig' +| build.zig +| src/crt.zig +| src/deck.zig +| src/dump.zig +| src/gui.zig +| src/image.zig +| src/look.zig +| src/main.zig +| src/modal.zig +| src/pardes.zig +| src/petscii.zig +| src/syntax.zig +| src/tracy.zig +| src/tty.zig +| test/deck/replay.zig +| test/deck/schema.zig +| test/e2e_harness.zig +| test/hxdiff.zig +| test/snapshot.zig +| uucode_config.zig +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap source-open grid=120x37 cursor=7,25 +|Kill Newcol Tutor Debug Colors NextColor Crt Dump +| TTY /home/goblin/00-projects/0x4200.cafe/02-pardes-code Del +| $ git ls-files '*.zig' +| build.zig +| src/crt.zig +| src/deck.zig +| src/dump.zig +| src/gui.zig +| src/image.zig +| src/look.zig +| src/main.zig +| src/modal.zig +| src/pardes.zig +| src/petscii.zig +| src/syntax.zig +| src/tracy.zig +| src/tty.zig +| test/deck/replay.zig +| test/deck/schema.zig +| test/e2e_harness.zig +| test/hxdiff.zig +| test/snapshot.zig +| uucode_config.zig +| +| NOR build.zig Save Del +| 1 const std = @import("std"); +| 2 +| 3 pub const Platform = enum { tty, gui, web }; +| 4 pub const TreeSitterGrammars = enum { disabled, zig, minimal, full }; +| 5 const GhosttyArtifact = enum { ghostty, lib }; +| 6 +| 7 pub fn build(b: *std.Build) void { +| 8 // Default target is the Steam Deck (deckcap's trick): x86_64 linux-gnu +| 9 // with the glibc version pinned low, so a binary built on a rolling- +| 10 // release host runs on SteamOS — a native build references the host's +| 11 // newer versioned libm/libc symbols and dies with "GLIBC_2.4x not found" +| 12 // on the deck. Override with -Dtarget= as usual. +== style source-open +|0: 0-48 #969696,#2c2a3e, 49-119 d,#2c2a3e, +|1: 0-1 d,#383c54, 2-60 #969696,#2c2a3e, 61-119 d,#2c2a3e, +|2: 0-1 d,#525252, 2-119 d,d, +|3: 0-1 d,#525252, 2-119 d,d, +|4: 0-1 d,#525252, 2-119 d,d, +|5: 0-1 d,#525252, 2-119 d,d, +|6: 0-1 d,#525252, 2-119 d,d, +|7: 0-1 d,#525252, 2-119 d,d, +|8: 0-1 d,#525252, 2-119 d,d, +|9: 0-1 d,#525252, 2-119 d,d, +|10: 0-1 d,#525252, 2-119 d,d, +|11: 0-1 d,#525252, 2-119 d,d, +|12: 0-1 d,#525252, 2-119 d,d, +|13: 0-1 d,#525252, 2-119 d,d, +|14: 0-1 d,#525252, 2-119 d,d, +|15: 0-1 d,#525252, 2-119 d,d, +|16: 0-1 d,#525252, 2-119 d,d, +|17: 0-1 d,#525252, 2-119 d,d, +|18: 0-1 d,#525252, 2-119 d,d, +|19: 0-1 d,#525252, 2-119 d,d, +|20: 0-1 d,#525252, 2-119 d,d, +|21: 0-1 d,#525252, 2-119 d,d, +|22: 0-1 d,#525252, 2-119 d,d, +|23: 0-1 d,#525252, 2-119 d,d, +|24: 0-1 d,#6e4fd0, 2-23 #969696,#2c2a3e, 24-119 d,#2c2a3e, +|25: 0-1 d,#525252, 2-6 #969696,#2c2a3e, 7-18 d,d, 19-25 #cc70d8,d,b 26-26 d,d, 27-31 #8ab87a,d, 32-119 d,d, +|26: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-119 d,d, +|27: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-27 d,d, 28-31 #cc70d8,d,b 32-119 d,d, +|28: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-37 d,d, 38-41 #cc70d8,d,b 42-119 d,d, +|29: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-30 d,d, 31-34 #cc70d8,d,b 35-119 d,d, +|30: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-119 d,d, +|31: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-10 d,d, 11-12 #cc70d8,d,b 13-119 d,d, +|32: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-10 d,d, 11-81 #f0f0f0,d,b 82-119 d,d, +|33: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-10 d,d, 11-79 #f0f0f0,d,b 80-119 d,d, +|34: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-10 d,d, 11-80 #f0f0f0,d,b 81-119 d,d, +|35: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-10 d,d, 11-83 #f0f0f0,d,b 84-119 d,d, +|36: 0-1 d,#2a2a2a, 2-6 #5a5a5a,d, 7-10 d,d, 11-59 #f0f0f0,d,b 60-119 d,d, +== snap separator-resized grid=120x37 cursor=7,21 +|Kill Newcol Tutor Debug Colors NextColor Crt Dump +| TTY /home/goblin/00-projects/0x4200.cafe/02-pardes-code Del +| src/dump.zig +| src/gui.zig +| src/image.zig +| src/look.zig +| src/main.zig +| src/modal.zig +| src/pardes.zig +| src/petscii.zig +| src/syntax.zig +| src/tracy.zig +| src/tty.zig +| test/deck/replay.zig +| test/deck/schema.zig +| test/e2e_harness.zig +| test/hxdiff.zig +| test/snapshot.zig +| uucode_config.zig +|╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ +| NOR build.zig Save Del +| 1 const std = @import("std"); +| 2 +| 3 pub const Platform = enum { tty, gui, web }; +| 4 pub const TreeSitterGrammars = enum { disabled, zig, minimal, full }; +| 5 const GhosttyArtifact = enum { ghostty, lib }; +| 6 +| 7 pub fn build(b: *std.Build) void { +| 8 // Default target is the Steam Deck (deckcap's trick): x86_64 linux-gnu +| 9 // with the glibc version pinned low, so a binary built on a rolling- +| 10 // release host runs on SteamOS — a native build references the host's +| 11 // newer versioned libm/libc symbols and dies with "GLIBC_2.4x not found" +| 12 // on the deck. Override with -Dtarget= as usual. +| 13 const target = b.standardTargetOptions(.{ .default_target = .{ +| 14 .cpu_arch = .x86_64, +| 15 .os_tag = .linux, +| 16 .abi = .gnu, +== snap source-scrolled grid=120x37 cursor=0,0 +|Kill Newcol Tutor Debug Colors NextColor Crt Dump +| TTY /home/goblin/00-projects/0x4200.cafe/02-pardes-code Del +| src/dump.zig +| src/gui.zig +| src/image.zig +| src/look.zig +| src/main.zig +| src/modal.zig +| src/pardes.zig +| src/petscii.zig +| src/syntax.zig +| src/tracy.zig +| src/tty.zig +| test/deck/replay.zig +| test/deck/schema.zig +| test/e2e_harness.zig +| test/hxdiff.zig +| test/snapshot.zig +| uucode_config.zig +| +| NOR build.zig Save Del +| 10 // release host runs on SteamOS — a native build references the host's +| 11 // newer versioned libm/libc symbols and dies with "GLIBC_2.4x not found" +| 12 // on the deck. Override with -Dtarget= as usual. +| 13 const target = b.standardTargetOptions(.{ .default_target = .{ +| 14 .cpu_arch = .x86_64, +| 15 .os_tag = .linux, +| 16 .abi = .gnu, +| 17 .glibc_version = .{ .major = 2, .minor = 38, .patch = 0 }, +| 18 } }); +| 19 const requested_optimize = b.standardOptimizeOption(.{}); +| 20 const platform = b.option(Platform, "platform", "which shell to build (tty, gui, web)") orelse .tty; +| 21 const static = b.option(bool, "static", "statically link") orelse false; +| 22 const dump_path = b.option([]const u8, "dump", "dump .zon embedded into the web shell (-Dplatform=web)"); +| 23 const emcc_path = b.option([]const u8, "emcc", "emcc for the web shell's final link") orelse "/usr/lib/emscri +| 24 const is_emscripten = target.result.os.tag == .emscripten; +| 25 // wasm: size is the budget |
