summaryrefslogtreecommitdiff
path: root/build/tools.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 20:52:50 -0300
committerGabriel Schneider <[email protected]>2026-11-18 21:22:58 -0300
commita75956bb3443aa8aac778d2ff12c42f5ef99e0e9 (patch)
tree17547cbf6606c8bd05be313cd8f835cb85d13e57 /build/tools.zig
parent5b33c88476054fffc1044fff0526f7f0b28563cf (diff)
downloadpardes-a75956bb3443aa8aac778d2ff12c42f5ef99e0e9.tar.gz
pardes-a75956bb3443aa8aac778d2ff12c42f5ef99e0e9.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'build/tools.zig')
-rw-r--r--build/tools.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tools.zig b/build/tools.zig
index 92217c4e..c6f25e6d 100644
--- a/build/tools.zig
+++ b/build/tools.zig
@@ -236,7 +236,7 @@ pub fn add(b: *std.Build, c: struct {
// a terminal: its tests reach the editor's modes (modal.zig).
var syntax_cfg = c.lean;
syntax_cfg.root = "src/syntax.zig";
- const syntax_module = core.module(b, c.parts, syntax_cfg);
+ const syntax_module = core.module(b, c.parts, syntax_cfg).root;
const syntax_runner = program(b, "pardes-syntax", "test/syntax.zig", c.target, c.optimize, &.{.{ .name = "syntax", .module = syntax_module }});
const run_syntax = b.addRunArtifact(syntax_runner);
run_syntax.addPassthruArgs();