Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 558 Bytes

File metadata and controls

23 lines (16 loc) · 558 Bytes

Agent Development Guide

A file for guiding coding agents.

Commands

  • Build: zig build
  • Test (Zig): zig build test
  • Test filter (Zig): zig build test -Dtest-filter=<test name>
  • Formatting (Zig): zig fmt .
  • Formatting (other): prettier -w .

Directory Structure

  • Shared Zig core: src/
  • C API: include/ghostty.h
  • macOS app: macos/
  • GTK (Linux and FreeBSD) app: src/apprt/gtk

macOS App

  • Do not use xcodebuild
  • Use zig build to build the macOS app and any shared Zig code