-
Add the
thefox/brewery
tap to brew.$ brew tap thefox/brewery
-
Install a formula.
$ brew install <formula>
-
Create template file in
skel
. -
Run release script
$ ./bin/release.sh name 1.2.3
-
Test formulae local:
$ brew install ./name.rb
In bin/release
the GITHUB_BASE_URL
variable is set to https://github.com/TheFox
. To create a formulae for a foreign programm run it like this:
$ export GITHUB_BASE_URL=https://github.com/drinchev
$ ./bin/release.sh phook 0.0.4
brew help
, man brew
or check Homebrew's documentation.
/usr/local/Homebrew/Library/Taps/thefox/homebrew-brewery/