Homebrew tap for installing the Juvix compiler
Run the following commands on your machine:
brew update
brew tap anoma/juvix
brew install juvix
If you want to build Juvix from the sources and see what's exactly is going on, run:
brew install --build-from-source juvix --verbose
Homebrew provides the following way to audit a formula. Let's use it against Juvix.
brew audit --strict juvix
To update after a Juvix release:
- Update the
version
andsha256
fields of thestable
block in the formula and push. - Run
brew update
,brew install --build-bottle juvix
, andbrew bottle juvix
to build the bottle for the release. - Upload the bottle TAR file to the Juvix release artifacts. (NB: rename the TAR to match the naming scheme).
- Update the
bottle
block in the formula with details obtained from step 2 and push. - Test that you can install Juvix using the bottle,
brew update
,brew install juvix
, andjuvix --version
.
To uninstall Juvix using homebrew, run the command:
brew uninstall juvix
If you want to uninstall the formula as well, untap it by running:
brew untap anoma/juvix
The Juvix Homebrew formula was created following the guideline: