brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Formula#install
This method is overriden in {Formula} subclasses to provide the installation instructions.
The sources (from {.url}) are downloaded, hash-checked and
Homebrew changes into a temporary directory where the
archive was unpacked or repository cloned.
<pre>def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end</pre>Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/formula.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Formula-install-for-pr
# Commit to gitgit add Library/Homebrew/formula.rbgit commit -m "better docs for Formula#install"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Formula-install-for-pr
hub pull-request
# Celebrate!