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

View file

@ -0,0 +1,18 @@
# This file was generated by the font folder cleanup script
# Do not edit this file directly
# Installs: OTF
cask "font-made-infinity" do
version "1.0.0"
sha256 :no_check
url "http://clancy.genet-godzilla.ts.net:8085/Fonts/homebrew-fonts/archive/main.tar.gz"
name "Made Infinity"
homepage "http://clancy.genet-godzilla.ts.net:8085/Fonts/homebrew-fonts"
font "font_files/font-made-infinity/otf/madeinfinity-personaluse-black.otf"
font "font_files/font-made-infinity/otf/madeinfinity-personaluse-light.otf"
font "font_files/font-made-infinity/otf/madeinfinity-personaluse-medium.otf"
font "font_files/font-made-infinity/otf/madeinfinity-personaluse-regular.otf"
font "font_files/font-made-infinity/otf/madeinfinity-personaluse-thin.otf"
end