Update documentation and scripts for font addition process; introduce uv run add-font CLI command for streamlined font management. Enhance formula generation with improved class name formatting and validation steps. Remove outdated font formula files.
This commit is contained in:
parent
69d8156b09
commit
56b64d0b34
266 changed files with 1187 additions and 8145 deletions
|
|
@ -7,5 +7,5 @@ This repo follows multi-LLM conventions: PROJECT.md (canonical), .github/copilot
|
|||
Summary:
|
||||
- This repo is a Homebrew tap for custom fonts. Fonts live in font_files/font-<name>/ with subdirs ttf/, otf/, web/, other_files/.
|
||||
- Formula/*.rb are generated by .fontfoldercleanup/create_homebrew_formula.py — do not edit them by hand.
|
||||
- To add a font: put folder in font_files/ as font-<name>, run cleanup_font_folders.py then create_homebrew_formula.py.
|
||||
- Scripts: Python 3 in .fontfoldercleanup/ (cleanup_font_folders.py, create_homebrew_formula.py).
|
||||
- To add a font: run `uv run add-font <path_or_name>` (or put folder in font_files/, run cleanup_font_folders.py then create_homebrew_formula.py). Then run `uv run pytest tests/` to validate.
|
||||
- Scripts: Python 3 in .fontfoldercleanup/ (cleanup_font_folders.py, create_homebrew_formula.py). CLI: uv run add-font (tap_cli).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue