Mike McQuaid aeaeccc3b1
formula: add .keepme files to prevent cleanup
Allow the use of `.keepme` files inside a keg to prevent the cleanup.

Rather than having a binary state of "never cleanup if `.keepme` is
present" and "can cleanup without", instead a `.keepme` file is
essentially providing reference counting.

It can contain one or more lines which reference files on disk. If the
file exists, the `.keepme` file will prevent cleanup. If/when it does
not: `brew cleanup` will happily cleanup this keg (providing all other
conditions apply).
2025-01-23 14:29:48 +00:00
..
2024-12-08 10:28:10 -08:00
2024-12-31 00:15:10 +00:00
2025-01-22 01:45:19 +05:30
2025-01-19 12:32:55 +01:00
2025-01-22 22:45:59 +00:00
2025-01-07 17:40:18 +00:00
2025-01-22 22:45:48 +00:00
2025-01-16 15:12:03 -08:00
2025-01-07 16:27:44 +00:00
2025-01-08 14:10:55 +00:00
2024-11-05 16:44:12 +00:00
2024-11-26 14:09:13 -08:00
2024-11-22 21:04:51 -08:00
2025-01-14 08:14:39 -05:00
2025-01-22 22:45:48 +00:00
2025-01-14 08:14:39 -05:00
2025-01-07 17:40:18 +00:00
2024-10-07 19:45:48 -07:00
2024-12-11 11:04:55 -08:00
2025-01-07 17:40:18 +00:00
2024-10-31 15:35:58 +08:00
2024-12-05 14:01:37 +00:00
2025-01-07 17:40:18 +00:00
2024-12-07 10:35:33 -08:00
2025-01-07 17:40:18 +00:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!