brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Homebrew.current_versions_from_info_external
Get current formula versions without loading formula definition in this process Returns info as a hash (type => version), for pull.rb's internal use Uses special key :nonexistent => true for nonexistent formulae
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/dev-cmd/pull.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Homebrew-current_versions_from_info_external-for-pr
# Commit to gitgit add Library/Homebrew/dev-cmd/pull.rbgit commit -m "better docs for Homebrew.current_versions_from_info_external"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Homebrew-current_versions_from_info_external-for-pr
hub pull-request
# Celebrate!