Pre re-factor - Refactor font formula generator to streamline URL handling and improve directory structure for font files, ensuring consistent installation across all font classes.
This commit is contained in:
parent
04d79dd2dd
commit
69d8156b09
325 changed files with 7771 additions and 0 deletions
17
.github/copilot-instructions.md
vendored
Normal file
17
.github/copilot-instructions.md
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
applyTo: "**"
|
||||
---
|
||||
|
||||
# Custom Font Homebrew Tap — Project instructions
|
||||
|
||||
**For full context, read [PROJECT.md](../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/.
|
||||
Loading…
Add table
Add a link
Reference in a new issue