mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
Protobuf message and service definitions.
Makefile generates golang message and service stub implementations into
//go/gen/proto/. The generated code is checked into the repository.
Dependencies
Dependencies are git submodules in //proto/third_party. You need to build
protoc in //proto/third_party/protobuf by running bazel build //:protoc from
that directory. Currently tested with bazel version 0.28.0.
You also need to run go build -o ._protoc-gen-go ./protoc-gen-go in
third_party/golang-protobuf.
Dependency tracking and hermeticity here poor.
Generating code
$ make
or potentially
$ make clean all