diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 04:37:18 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 04:38:20 -0300 |
| commit | a3634ab3dbf2fabd997f137c47eafd7bc6c442b0 (patch) | |
| tree | 202a888c08f7d2620805445653156e81ce813cde /dev/macos/Sources/FileWatcher.swift | |
| parent | fc9e2eaf5ad86719a3bc57d18ce4ad302461dfbd (diff) | |
| download | pardes-a3634ab3dbf2fabd997f137c47eafd7bc6c442b0.tar.gz pardes-a3634ab3dbf2fabd997f137c47eafd7bc6c442b0.zip | |
build: build.zig reads like sketchbook's (pardes-build-2 item 4; the start design's 4.3 and 4.4): its head comment is a consumer's lines, both shapes (`pardes-syntax` with `.grammars = .minimal`, as computeranim's anim takes it; `pardes-editor` with `.grammars = .none, .editor = true` and a grammar of its own, as sketchbook's examples/live does) and what each option selects, and `build()` begins with what such a package may ask for, the mode and `grammars` (pardes's own build takes both too), then `if (!b.isRoot()) return library(...)` with the target and `editor`, which only a dependency declares: the root's target is not read there, since its default comes from -Dplatform (x86_64-linux-gnu.2.38, or the Mac's) and a package that passes none keeps the native one; build/library.zig is `library` at the foot of build.zig, the editor option read with the others and handed in (its body otherwise as it was); `-Deditor` stays a dependency's alone and the root's -Dgrammars help text is the head comment's words; lines: build.zig 361 -> 430 (26 of them the head comment), build/library.zig 49 -> 0, build.zig and build/ 2,971 -> 2,991; tui install, lib-test (the package still asks for `.grammars = .minimal, .editor = true`) and hxlib (538 cases, 0 mismatches) as before
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/macos/Sources/FileWatcher.swift')
0 files changed, 0 insertions, 0 deletions
