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
- Commit MODULE.bazel.lock by @bpalermo in #50
- interop=true: the typed fast path, semantics preserved by @bpalermo in #51
- Release 0.5.0 by @bpalermo in #52
Full Changelog: v0.4.0...v0.5.0