commit | 87faa2ffcded4a4f90e93dcad69feae2ddafe655 | [log] [tgz] |
---|---|---|
author | Alex Eagle <alex@aspect.dev> | Fri Sep 23 16:36:34 2022 -0700 |
committer | Alex Eagle <alex@aspect.dev> | Fri Sep 23 16:36:34 2022 -0700 |
tree | 6ad58f5b03c06462c1464783c33a12417c659015 | |
parent | b17f6a4d311fedf86e14fd66abb85bdaf98b40c8 [diff] |
doc: point users to the release page Otherwise the README has stale install instructions as it's not updated as part of the release process.
This repository contains Starlark implementation of Protobuf rules in Bazel.
For a high-level overview of using Protocol Buffers and gRPC with Bazel, see https://bazel-contrib.github.io/SIG-rules-authors/proto-grpc.html.
For the list of Proto rules, see the Bazel documentation.
To get started with rules_proto
, add the WORKSPACE
file snippet from the latest release.
Then, in your BUILD
files, import and use the rules:
load("@rules_proto//proto:defs.bzl", "proto_library") proto_library( ... )
If you're migrating from the native proto rules to rules_proto
, you can use the following buildifier command to automate the changes to your BUILD
and .bzl
files:
buildifier --lint=fix --warnings=native-proto <path/to/BUILD>
Bazel and rules_proto
are the work of many contributors. We appreciate your help!
To contribute, please read the contribution guidelines: CONTRIBUTING.md.
Note that the rules_proto
use the GitHub issue tracker for bug reports and feature requests only.
For asking questions see:
#proto
on slack.bazel.build