Documentation
¶
Overview ¶
Libbuild builds libghostty-vt for every platform Golet supports from Ghostty's sources at a commit, with Zig (the version Ghostty asks for), and writes golet-plugin.json, which names the files and their SHA-256 for the CLI and the terminal package, and ghostty_themes.go, the themes that Ghostty ships:
go generate ./plugins/terminal
With -themes, it only writes the themes, which needs no Zig.
The files go into plugins/terminal/build, to publish as the assets of the release libghostty-vt-<commit>, which golet-plugin.json points at:
gh release create libghostty-vt-<commit> plugins/terminal/build/* --latest=false ...
macOS's libraries are linked by Apple's linker when Xcode is installed, which the build of Ghostty prefers, so build them on a Mac.