Using it
Homebrew: upgrade & uninstall
When something is wrong
What the cask does for you, what it cannot, and the upgrade and uninstall commands.
brew install --cask n0sfer/tap/humane-space-tab
Homebrew adds the tap on first use, downloads the release image, verifies its SHA-256 against
the cask and moves the app into /Applications.
Two things it cannot do for you, both consequences of ad-hoc signing:
brew upgrade --cask humane-space-tab
brew uninstall --cask humane-space-tab # add --zap to take the preferences too
It is not written by hand: scripts/cask.sh builds it from a packaged version, reading the
image’s SHA-256 out of dist/.
scripts/package.sh 0.1.0
scripts/cask.sh 0.1.0 > humane-space-tab.rb
The cask lives in a tap of its own — a repository named homebrew-tap under the same owner, so
that n0sfer/tap/humane-space-tab resolves to github.com/n0sfer/homebrew-tap. Casks go in
Casks/, and nothing else is required of the repository.
Every v* tag updates it: the release job writes the version and the new SHA-256 into
Casks/humane-space-tab.rb and pushes. Without the token that lets it in, the job says so and
carries on — the release is published either way, and the cask can be updated by hand.