homebrew-fonts/.github/copilot-instructions.md

871 B

applyTo
**

Custom Font Homebrew Tap — Project instructions

For full context, read PROJECT.md at the repo root.

What this repo is

  • Homebrew tap for a personal font collection. Users run brew tap ... then brew install font-<name>.
  • Fonts live in font_files/font-<name>/ with exactly four subdirs: ttf/, otf/, web/, other_files/.

Rules

  • Do not edit Formula/*.rb by hand. They are generated by .fontfoldercleanup/create_homebrew_formula.py.
  • To add a font: add folder font_files/font-<name>/, run cleanup_font_folders.py then create_homebrew_formula.py.
  • Scripts are Python 3 in .fontfoldercleanup/: cleanup_font_folders.py, create_homebrew_formula.py.
  • All font folders must use the font- prefix; only .ttf in ttf/, .otf in otf/, web fonts in web/, everything else in other_files/.