This is the official Cloudflavor Homebrew tap.
The Homebrew formula name is opal-cli.
The installed executable is still:
opalThe formula is named opal-cli because opal already exists in homebrew/core for the Ruby-to-JavaScript transpiler.
If you already have Homebrew core's opal installed, uninstall it first because both formulae install an opal executable.
Install the tap and formula:
brew tap cloudflavor/tap
brew install cloudflavor/tap/opal-cliCheck the installed version:
opal --version-
Publish the new Opal release on GitHub.
-
Make sure the release includes all supported tarballs:
- macOS
arm64 - Linux
arm64 - Linux
x86_64
- macOS
-
Compute the SHA-256 for each tarball:
shasum -a 256 opal-<version>-<target>.tar.gz
-
Update
Formula/opal-cli.rbwith:- the new
version - the matching
urlvalues - the matching
sha256values - any formula metadata that changed
- the new
-
Validate the formula:
brew style Formula/opal-cli.rb ruby -c Formula/opal-cli.rb
-
Commit and push the change to the default branch of
cloudflavor/homebrew-tap. -
Verify the updated tap:
brew update brew livecheck cloudflavor/tap/opal-cli brew upgrade cloudflavor/tap/opal-cli
Notes:
livecheckis already configured inFormula/opal-cli.rbto track both stable tags and-rcNtags.- If upstream asset names change or a platform is added or removed, update the corresponding
urlandsha256entries inFormula/opal-cli.rb.