Files
ghostty/macos/AGENTS.md
Mitchell Hashimoto 04aff46022 macos: add build script, update AGENTS.md, skip UI tests
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.
2026-03-05 19:55:50 -08:00

596 B

macOS Ghostty Application

  • Use swiftlint for formatting and linting Swift code.
  • If code outside of this directory is modified, use zig build -Demit-macos-app=false before building the macOS app to update the underlying Ghostty library.
  • Use build.nu to build the macOS app, do not use zig 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)
  • Run unit tests directly with build.nu --action test