From a75956bb3443aa8aac778d2ff12c42f5ef99e0e9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 20:52:50 -0300 Subject: runtime: main, daemon, upgrade, crash, addon_test, 9p_io, 9p and macos.zig into runtime/ (the reorganisation's tree, step 2a), skill.txt with main.zig, its one reader: module `runtime` (runtime/root.zig) and the core, each naming the other, a product's root (main.zig, macos.zig) a module of its own over both; the files name across by module (`@import("runtime").daemon`, `@import("core").look`), pardes.zig exporting what they name (ctl, edit_cmd, tracy, selection_pipe, and the frontends until they move); core-test and shell-test run each module's test program, so the same tests run (the ledger: every named test of every suite the base's, tui and gui); nothing else changes: frames byte-identical, the same counts (tui core-test 822/963, the one more an anonymous collector) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- build/macos.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build/macos.zig') diff --git a/build/macos.zig b/build/macos.zig index bcaf4d4c..7289e70a 100644 --- a/build/macos.zig +++ b/build/macos.zig @@ -22,6 +22,8 @@ pub fn add(b: *std.Build, c: struct { .optimize = c.optimize, }); c.root_mod.addImport("pardes.h", header.createModule()); + // The app's watcher, which macos.zig's test reads beside its own. + c.root_mod.addAnonymousImport("macos/Sources/FileWatcher.swift", .{ .root_source_file = b.path("src/macos/Sources/FileWatcher.swift") }); const lib = b.addLibrary(.{ .name = "pardes", -- cgit v1.3