brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

BuildOptions#universal?

True if a {Formula} is being built universally.
e.g. on newer Intel Macs this means a combined x86_64/x86 binary/library.
<pre>args << "--universal-binary" if build.universal?</pre>

Source | Google | Stack overflow

Edit

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

cd brew

open Library/Homebrew/build_options.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-BuildOptions-universal--for-pr


# Commit to git

git add Library/Homebrew/build_options.rbgit commit -m "better docs for BuildOptions#universal?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-BuildOptions-universal--for-pr

hub pull-request


# Celebrate!