Skip to content

v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Aug 23:38
· 1 commit to main since this release
19a8623

Install

protoc discovers plugins as protoc-gen-<name> on PATH, so the file name is
load-bearing — it is what makes --clojure_out work.

curl -fsSLo protoc-gen-clojure \
  "https://github.com/bpalermo/protoc-gen-clojure/releases/download/v0.5.0/protoc-gen-clojure_0.5.0_linux_x86_64"
chmod +x protoc-gen-clojure && mv protoc-gen-clojure /usr/local/bin/

On macOS, clear the quarantine attribute: xattr -d com.apple.quarantine <path>.
Binaries are unsigned.

Bazel

bazel_dep(name = "protoc_gen_clojure", version = "0.5.0")

plugin = use_extension("@protoc_gen_clojure//clojure:extensions.bzl", "toolchains")
use_repo(plugin, "protoc_gen_clojure_toolchains")

register_toolchains("@protoc_gen_clojure_toolchains//:all")

Consumers need no Clojure, no JVM and no GraalVM: the toolchain fetches the
prebuilt binary for the host platform.

What's Changed

Full Changelog: v0.4.0...v0.5.0