brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Hbc::Artifact::UninstallBase#uninstall_early_script

Preserve prior functionality of script which runs first. Should rarely be needed.
:early_script should not delete files, better defer that to :script.
If Cask writers never need :early_script it may be removed in the future.

Source | Google | Stack overflow

Edit

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

cd brew

open Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Hbc--Artifact--UninstallBase-uninstall_early_script-for-pr


# Commit to git

git add Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rbgit commit -m "better docs for Hbc::Artifact::UninstallBase#uninstall_early_script"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Hbc--Artifact--UninstallBase-uninstall_early_script-for-pr

hub pull-request


# Celebrate!