Fix archive path: homebrew-fonts-main → homebrew-fonts
Gitea archives unpack as homebrew-fonts/, not homebrew-fonts-main/. Updated formula generator, tests, and docs to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
387a4795d7
commit
a85f0e9b53
138 changed files with 551 additions and 540 deletions
|
|
@ -124,7 +124,7 @@ python3 .fontfoldercleanup/cleanup_font_folders.py --path font_files
|
|||
|
||||
- **File:** `Formula/font-<name>.rb` (e.g. `font-pixelon.rb`, `font-graham_hand.rb`).
|
||||
- **Class:** `Font<PascalCase>` — the part after `font-` is converted to valid Ruby (e.g. `font-acrylic-hand` → `FontAcrylicHand`, `font-graham_hand` → `FontGrahamHand`). No hyphens in the class name.
|
||||
- **Source:** Formulae assume the archive unpacks as `homebrew-fonts-main/` and fonts live under `homebrew-fonts-main/font_files/font-<name>/`.
|
||||
- **Source:** Formulae assume the archive unpacks as `homebrew-fonts/` and fonts live under `homebrew-fonts/font_files/font-<name>/`.
|
||||
- **Comment in formulae:** "This file was generated by the font folder cleanup script — Do not edit this file directly." Edits should go in the generator (`.fontfoldercleanup/create_homebrew_formula.py`) or in font folder structure/scripts.
|
||||
|
||||
## Technical Notes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue