What's Changed
- Add
protoc_args
attribute tobuf_lint_test
andbuf_breaking_test
by @sushain97 in #50 - Get the os info from repo ctx by @kusaeva in #58
- Add sha256 support for bzlmod case by @adrianimboden in #61
- Add
module
option tolint
andbreaking
rules by @srikrsna-buf in #65 - Add gazelle support for
v2
by @srikrsna-buf in #66 - Add support for multiple config files of different versions by @srikrsna-buf in #68
WORKSPACE
Code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_buf",
integrity = "sha256-Hr64Q/CaYr0E3ptAjEOgdZd1yc+cBjp7OG1wzuf3DIs=",
strip_prefix = "rules_buf-0.3.0",
urls = [
"https://github.com/bufbuild/rules_buf/archive/refs/tags/v0.3.0.zip",
],
)
load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_toolchains")
rules_buf_dependencies()
rules_buf_toolchains(
version = "v1.32.1",
)
# rules_proto
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
New Contributors
- @chrispine made their first contribution in #56
- @kusaeva made their first contribution in #58
- @adrianimboden made their first contribution in #61
Full Changelog: v0.2.0...v0.3.0