Skip to content

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 22 Aug 23:46
· 5 commits to main since this release
3ff893b

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.3.1/protoc-gen-clojure_0.3.1_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.3.1")

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.3.0...v0.3.1