-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
36 lines (31 loc) · 907 Bytes
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# https://buf.build/blog/remote-plugin-execution
version: v1
plugins:
# Go
- plugin: buf.build/protocolbuffers/go
out: gen/go
opt: paths=source_relative
- plugin: buf.build/grpc/go
out: gen/go
opt: paths=source_relative
# Python
# - plugin: buf.build/protocolbuffers/python
# out: gen/python
# - plugin: buf.build/grpc/python
# out: gen/python
# We use local plugin for Python, since we're using an unreleased version.
# Install the protoc plugin by running pip install -r requirements.txt (See README.md)
- plugin: python_betterproto
out: gen/python
# Java
- plugin: buf.build/grpc/java:v1.62.2
out: gen/java
- plugin: buf.build/protocolbuffers/java:v26.0
out: gen/java
# Typescript
- plugin: buf.build/bufbuild/es:v1.4.2
opt: target=ts
out: gen/ts
- plugin: buf.build/connectrpc/es:v1.1.3
opt: target=ts
out: gen/ts