brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Formula#skip_clean?

sometimes the formula cleaner breaks things
skip cleaning paths in a formula with a class method like this:
  skip_clean "bin/foo", "lib/bar"
keep .la files with:
  skip_clean :la

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-skip_clean--for-pr


# Commit to git

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


# 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-skip_clean--for-pr

hub pull-request


# Celebrate!