Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information