mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
This is an update to address common agentic issues I run into, but the `build.nu` script may be generally helpful to people using the Nix env since `xcodebuild` is broken by default in Nix due to the compiler/linker overrides Nix shell does.
596 B
596 B
macOS Ghostty Application
- Use
swiftlintfor formatting and linting Swift code. - If code outside of this directory is modified, use
zig build -Demit-macos-app=falsebefore building the macOS app to update the underlying Ghostty library. - Use
build.nuto build the macOS app, do not usezig build(except to build the underlying library as mentioned above).- Build:
build.nu [--scheme Ghostty] [--configuration Debug] [--action build] - Output:
build/<configuration>/Ghostty.app(e.g.build/Debug/Ghostty.app)
- Build:
- Run unit tests directly with
build.nu --action test