summaryrefslogtreecommitdiff
path: root/build/tools.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 22:03:14 -0300
committerGabriel Schneider <[email protected]>2026-11-18 22:23:51 -0300
commit99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch)
tree813596ea84318a7bae4fd7416ba463de8e3b7107 /build/tools.zig
parent92d553123673376adf6126ab90d49a22c5b833d2 (diff)
downloadpardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz
pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
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.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tools.zig b/build/tools.zig
index c6f25e6d..1343fef9 100644
--- a/build/tools.zig
+++ b/build/tools.zig
@@ -107,7 +107,7 @@ pub fn add(b: *std.Build, c: struct {
const hxdiff_step = b.step("hxdiff", "compare Helix results (-- --strict cases reference [waivers]; cases alone emits; --parity: a pty pane against a file pane)");
hxdiff_step.dependOn(&run_hxdiff.step);
- // The same cases on the library (src/lib_editor.zig): test/hxlib.zig
+ // The same cases on the library (core/lib_editor.zig): test/hxlib.zig
// types them into an editor value and prints its results, which
// hxdiff holds against helix's goldens, or with `-- --parity`
// against the file pane, so the library cannot drift from either.
@@ -235,7 +235,7 @@ pub fn add(b: *std.Build, c: struct {
// The syntax module's own tests and snapshots, on the core without
// a terminal: its tests reach the editor's modes (modal.zig).
var syntax_cfg = c.lean;
- syntax_cfg.root = "src/syntax.zig";
+ syntax_cfg.root = "core/syntax.zig";
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);