v0.3.1
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
- Drop references to an internal repository by @bpalermo in #45
- Adopt rules_clj by @bpalermo in #46
- Support Bazel 8.x, verified before claimed by @bpalermo in #47
- Release 0.3.1 by @bpalermo in #48
Full Changelog: v0.3.0...v0.3.1