brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Descriptions.update_cache
Take a {Report}, as generated by cmd/update.rb.
Unless the cache file exists, do nothing.
If it does exist, but the Report is empty, just touch the cache file.
Otherwise, use the report to update the cache.Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/descriptions.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Descriptions-update_cache-for-pr
# Commit to gitgit add Library/Homebrew/descriptions.rbgit commit -m "better docs for Descriptions.update_cache"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Descriptions-update_cache-for-pr
hub pull-request
# Celebrate!