Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-tap

Homebrew tap for simonvar/ktfmt — the Klimat style fork of facebook/ktfmt.

Install

brew install simonvar/tap/ktfmt

or

brew tap simonvar/tap
brew install ktfmt

Then:

ktfmt --klimat-style path/to/File.kt

What you get

  • Apple Silicon macOS and Linux (x86_64 / aarch64) — the GraalVM native binary (no JVM required, fast startup).
  • Intel macOS — the fat jar run via openjdk (installed automatically), as no native darwin-x86_64 build is published.

Homebrew installs formulae without the macOS quarantine attribute, so there is no Gatekeeper "unidentified developer" prompt. The native binary is ad-hoc codesigned in CI, which is all Apple Silicon requires to execute it.

Updating the formula

Formula/ktfmt.rb is bumped automatically: publishing a release in simonvar/ktfmt sends a repository_dispatch that runs .github/workflows/bump.yml, which reruns scripts/bump.py <tag> to rewrite the version and sha256 digests and pushes the change here.

To bump manually, run the Bump ktfmt formula workflow with a tag, or locally:

python3 scripts/bump.py v0.65-klimat.3

About

simon's brewery

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages