Convert from Homebrew Formulae to Casks for font installation

Formulae can't install to ~/Library/Fonts/ due to Homebrew sandboxing.
Casks have a built-in `font` artifact that handles this automatically.

- Replace Formula/ with Casks/ directory
- Rewrite generator to produce cask files instead of formulae
- Add .ttc (TrueType Collection) support
- Update all tests for cask format
- Update CLI and documentation
- Fonts with no installable files (TTF/OTF/TTC) are skipped

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt Troutman 2026-03-07 21:38:59 -06:00
parent cb1918c30f
commit 76743cdc4d
No known key found for this signature in database
273 changed files with 2509 additions and 10048 deletions

15
Casks/font-gilbert.rb Normal file
View file

@ -0,0 +1,15 @@
# This file was generated by the font folder cleanup script
# Do not edit this file directly
# Installs: OTF web
cask "font-gilbert" do
version "1.0.0"
sha256 :no_check
url "http://clancy.genet-godzilla.ts.net:8085/Fonts/homebrew-fonts/archive/main.tar.gz"
name "Gilbert"
homepage "http://clancy.genet-godzilla.ts.net:8085/Fonts/homebrew-fonts"
font "font_files/font-gilbert/otf/gilbert-bold-preview5.otf"
font "font_files/font-gilbert/otf/gilbert-color-bold-preview5.otf"
end