Skip to content

Offer brew install on the Command line page and list the Homebrew tap - #20

Merged
abashev merged 3 commits into
mainfrom
abashev/homebrew-tap
Nov 28, 2026
Merged

abashev merged 3 commits into
mainfrom
abashev/homebrew-tap

Conversation

@abashev

@abashev abashev commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

The last part of openjavaformat/open-java-format#151. The tap openjavaformat/homebrew-tap installs the native binary of the latest release on macOS (Apple silicon, Intel) and Linux (x86-64, AArch64), and an hourly workflow there moves it to each new release once it has installed and tested it on all four platforms.

  • Command line: a Homebrew section before the manual download: the command, the platforms it covers, WSL for Windows, why macOS does not quarantine the binary, and brew pin for holding a minor version. The download section now says that the Linux binaries need glibc 2.34 or later (GLIBC_2.34 is the newest symbol version both Linux binaries of 21.1.1 require).
  • About: the tap in "Where it is published", and how it follows the GitHub releases.
  • Home page: the brew install command next to the release downloads.

Checked: brew install openjavaformat/tap/open-java-format on a Mac with nothing tapped installs 21.1.1 and formats; the tap's Tests pass on macos-26, macos-15-intel, ubuntu-latest and ubuntu-24.04-arm; its follow-releases run bumped the formula from 21.1.0 to 21.1.1 by itself. zensical build --clean --strict passes.

The tap openjavaformat/homebrew-tap installs the native binary of the
latest release on macOS and Linux and follows each new release within
the hour.

- Command line: a Homebrew section before the manual download, with
  the platforms it covers, why macOS does not quarantine the binary,
  and brew pin for holding a minor version. The download section now
  says that the Linux binaries need glibc 2.34 or later.
- About: the tap in "Where it is published", and how it follows the
  GitHub releases.
- Home page: the brew command next to the release downloads.
@abashev
abashev force-pushed the abashev/homebrew-tap branch from b89a09c to c474aed Compare November 28, 2026 16:57
mise's github backend already installs the native binary from the GitHub
release and verifies its digest and build attestation, so the Command line
page gets a mise section next to Homebrew, with the per-project pin in
mise.toml and the platforms where it picks the wrong file.
Describe installing the command line tool with mise
@abashev
abashev merged commit ae3661c into main Nov 28, 2026
2 checks passed
@abashev
abashev deleted the abashev/homebrew-tap branch November 28, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant