mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
This pull request aims to make it possible to generate, format, and lint the protos within this repo. To accomplish that end, the Dockerfile containing common tools for building the tendermint protos has been moved into this repository and several accompanying changes were made to streamline the proto generation process.
15 lines
639 B
YAML
15 lines
639 B
YAML
# The version of the generation template (required).
|
|
# The only currently-valid value is v1beta1.
|
|
version: v1beta1
|
|
|
|
# The plugins to run.
|
|
plugins:
|
|
# The name of the plugin.
|
|
- name: gogofaster
|
|
# The directory where the generated proto output will be written.
|
|
# The directory is relative to where the generation tool was run.
|
|
out: proto
|
|
# Set options to assign import paths to the well-known types
|
|
# and to enable service generation.
|
|
opt: Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/duration.proto=github.com/golang/protobuf/ptypes/duration,plugins=grpc,paths=source_relative
|