This is a repository containing all of Toward's Homebrew Taps. Each Tap has its own Ruby file for the installation of a Formula.
Each file contains a series of configuration options used by Homebrew, as well as the installation instructions. Before installing a Homebrew Formula that is not a part of the Homebrew Core, a custom Tap needs to be written and installed. Homebrew will automatically install the relevant Tap when a Formula from GitHub is installed.
- Clone this repo.
git clone git@github.com:towardstudio/homebrew-toward.git homebrew-toward
- Two things are needed to update an existing Tap:
- The Formula's Binary URL. E.G.
https://github.com/towardstudio/toward-cli/releases/download/v1.0.0/toward
- The Formula's SHA-256 Hash.
You can obtain the Formula's SHA-256 Hash with the following command.
curl -sL <Binary URL> | shasum -a 256
-
Open the
.rb
file related to the Formula that needs updating. -
Update the following values.
url <The Formula's Binary URL>
sha256 <The Formula's SHA-256 Hash>
-
Commit the updates.
-
The updated Formula will now be available for installation using Homebrew. Head to the Formula's own repo for instructions on updating.