brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Formula.pour_bottle?

Defines whether the {Formula}'s bottle can be used on the given Homebrew
installation.

For example, if the bottle requires the Xcode CLT to be installed a
{Formula} would declare:
<pre>pour_bottle? do
  reason "The bottle needs the Xcode CLT to be installed."
  satisfy { MacOS::CLT.installed? }
end</pre>

If `satisfy` returns `false` then a bottle will not be used and instead
the {Formula} will be built from source and `reason` will be printed.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/formula.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Formula-pour_bottle--for-pr


# Commit to git

git add Library/Homebrew/formula.rbgit commit -m "better docs for Formula.pour_bottle?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Formula-pour_bottle--for-pr

hub pull-request


# Celebrate!