Created
June 17, 2020 12:19
-
-
Save mhamrah/f7caefbf23d922c8c0123d95c4b74759 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rootdir: protorepo | |
sources: | |
- grpckit/accounts # non-proto entries will be searched for proto files, and named relative to root dir. | |
- grpckit/books/books.proto # you can specify specific files ending with .proto | |
output: gen # gen is the default output directory (should be gitignored) | |
plugins: | |
- name: go # the name of the plugin will be suffixed with _out, i.e. go_out. | |
args: paths=source_relative # args will be passed in to the plugin flag | |
- name: validate | |
args: lang=go | |
- name: python | |
output: gen-py # you can override outputs on a per-plugin basis | |
descriptors: | |
output: gen/descriptors.pb # defaults to descriptors.pb in root output directory | |
enabled: true # defaults to true, descriptors are useful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment