brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Resource#stage
Verifies download and unpacks it The block may call `|resource,staging| staging.retain!` to retain the staging directory. Subclasses that override stage should implement the tmp dir using FileUtils.mktemp so that works with all subtypes.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/resource.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Resource-stage-for-pr
# Commit to gitgit add Library/Homebrew/resource.rbgit commit -m "better docs for Resource#stage"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Resource-stage-for-pr
hub pull-request
# Celebrate!