diff options
| author | t <t@tjp.lol> | 2026-11-25 09:04:56 -0700 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-11-25 09:41:17 -0700 |
| commit | cf346b519a7f2e9b285c32c107b8777b2a13cab0 (patch) | |
| tree | 776798c526e665211f1548385ba42179bc6b7211 /build.zig.zon | |
| parent | 2f1d226f6baaafec34b5b3623ba6c9df9aaa003b (diff) | |
Pin libpantograph, target macOS 13, and add an About dialog
Fetch libpantograph from Codeberg by commit and hash, so a clone can build
without a sibling checkout. Always target arm64 macOS 13 instead of the build
machine, whose own version would otherwise become the minimum. Copy the
version from build.zig.zon into Info.plist, where the standard About panel
reads it, and run the app from inside its bundle so that it has one.
Diffstat (limited to 'build.zig.zon')
| -rw-r--r-- | build.zig.zon | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build.zig.zon b/build.zig.zon index 1c50060..ae276b1 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -4,8 +4,12 @@ .fingerprint = 0x9ba8e9529a0c4859, .minimum_zig_version = "0.16.0", .dependencies = .{ - // The AI features ask their model through libpantograph, checked out beside this repo. - .libpantograph = .{ .path = "../libpantograph" }, + // The AI features ask their model through libpantograph. `mise run pin:libpanto` moves + // the pin; the `test:local` and `build:local` tasks use the checkout beside this repo. + .libpantograph = .{ + .url = "git+https://codeberg.org/teepark/libpantograph.git#eafae0f611de12140fc4c549615853bb5f4d1318", + .hash = "libpantograph-0.0.0-7p05501tTgDTbmahhQB3krK2UICJhWo-R5rc7nLph3Ed", + }, }, .paths = .{ "build.zig", "build.zig.zon", "Info.plist", "README.md", "assets", "bin", "src" }, } |
