summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/building.typ14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/typ/building.typ b/docs/typ/building.typ
index 738b4ff0..6b0e812a 100644
--- a/docs/typ/building.typ
+++ b/docs/typ/building.typ
@@ -41,10 +41,11 @@ system takes the SDK SDL needs with `-Dmacos-sdk=<path>`.
A bare `zig build` installs into the prefix (`zig-out`, or `--prefix
<dir>`) and copies the binaries into `~/.local/bin`; `-Dhome-install=false`
leaves that copy out. Zig 0.17 keeps the prefix from the build script, so
-`--prefix` alone no longer stops it. With `-Dplatform` binaries are not copied. The `image`, `pdf` and
-`addons` steps also install into `$XDG_DATA_HOME/pardes/addons` (else
-`~/.local/share/pardes/addons`); `-Dhome-install=false` skips that copy.
-Pass `-Dplatform` and `-Dhome-install=false` while developing. Test, benchmark and run steps build what they need
+`--prefix` alone no longer stops it. The `image`, `pdf` and `addons` steps
+of a bare `zig build` also install into `$XDG_DATA_HOME/pardes/addons`
+(else `~/.local/share/pardes/addons`); `-Dhome-install=false` skips that
+copy too. With `-Dplatform` neither is copied, but `-Dhome-install=true`
+copies the addons. Test, benchmark and run steps build what they need
without installing. `pardes --version` prints `pardes <version>` (from
`build.zig.zon`), plus the commit for release builds and the `~/.local`
install, and on a second line the build's semantics hash, which a replica
@@ -60,9 +61,8 @@ must share with its session; `pardes --help` lists every flag.
[`-Djpx`], [bool, `true`: JPEG 2000, and with it scanned PDFs],
[`-Dtree-sitter`], [`disabled`, `zig`, `minimal`, `full`; `full`],
[`-Dembed-sources`], [bool, `false`: serve the sources under #file("/src")],
- [`-Dhome-install`], [bool: a bare `zig build` also copies the binaries into `~/.local/bin`; default true],
+ [`-Dhome-install`], [bool: a bare `zig build` also copies the binaries into `~/.local/bin` and the addon steps theirs into `$XDG_DATA_HOME/pardes/addons`, default true; with `-Dplatform` only `true` copies, and the addons alone],
[`-Dstamp-commit`], [bool: the git commit in `--version` and crash records; on for release builds and the `~/.local` install],
- [`-Dtheme-animation`], [bool, `true`],
[`-Dworkspace-tag`], [bool: draw the workspace tag row; on except for macOS, whose menu bar carries it],
[`-Dmacos-sdk`], [path: the macOS SDK SDL's headers and frameworks come from, for a gui built for macOS elsewhere],
[`-Dprebuilt-shaders`], [bool: embed the committed SPIR-V; on for a bare `zig build`, off with `-Dplatform`; the shaders are sketchbook's (`dev/draw/shaders/`), and its `zig build shaders` refreshes the SPIR-V with glslc],
@@ -170,8 +170,8 @@ zig build kitty-harness kitty graphics through a pane end to end (a fake kitt
zig build syntax-test tree-sitter tests without building the editor
zig build syntax deterministic per-byte highlighting snapshots
zig build lib-test the library, from a package that depends on pardes (test/lib);
-zig build hxlib helix's cases on the library's editor (-- --parity: against the file pane);
unit-test runs it too
+zig build hxlib helix's cases on the library's editor (-- --parity: against the file pane)
zig build behaviour-test behaviour through the 9P tree, in process (test/behaviour/),
and the T1 runner's short run of random 9P requests
zig build process-test real sessions over their sockets: mounts, flags, shells (test/process/),