summaryrefslogtreecommitdiff
path: root/test/session.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 13:21:54 -0300
committerGabriel Schneider <[email protected]>2026-11-06 14:24:59 -0300
commitb7fdfb18ffd199d49a254c1c799bc3415ad45ec2 (patch)
tree9e52b7a09c2e939f6efd4765c3e8d97464437a21 /test/session.zig
parentc37a700474e8b84cc3c7db8bf550b7c5f18b1871 (diff)
downloadpardes-b7fdfb18ffd199d49a254c1c799bc3415ad45ec2.tar.gz
pardes-b7fdfb18ffd199d49a254c1c799bc3415ad45ec2.zip
kinds #24, the addons as build steps: `zig build image` and `zig build pdf` each build their library and install it in <prefix>/lib/pardes/addons (and ~/.local/lib/pardes/addons with the home install), `zig build addons` both, the default install the binaries alone and -Dmupdf gone, MuPDF compiled only for the pdf step and the tests that depend on its artifact as before (fetched at the first configure, which Zig runs alike for every step); install.typ, building.typ, reference.typ, shared-libs.md, the README and the changelog say so
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/session.zig')
-rw-r--r--test/session.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/session.zig b/test/session.zig
index d5f5cae8..7399ab0f 100644
--- a/test/session.zig
+++ b/test/session.zig
@@ -403,8 +403,8 @@ pub const Session = struct {
// pdf:
- /// The pdf addon (addons/pdf/pdf.c), as the build makes it; a build
- /// without it (-Dmupdf=false) has none.
+ /// The pdf addon (addons/pdf/pdf.c), as the build makes it; none
+ /// before the build has fetched MuPDF.
pub const pdf_addon: ?[]const u8 = if (@import("session_options").has_pdf_addon) @import("session_options").pdf_addon else null;
/// The pdf addon loaded into the session, once: a test of a PDF in a