-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuf.gen.yaml
38 lines (38 loc) · 920 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
37
38
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/justshare-io/justshare/pkg/gen
plugins:
- plugin: buf.build/protocolbuffers/go
out: ./pkg/gen
opt:
- paths=source_relative
- plugin: buf.build/bufbuild/connect-go
out: ./pkg/gen
opt:
- paths=source_relative
- reflect-protocol=grpc-v1
- plugin: buf.build/grpc/go:v1.2.0
out: ./pkg/gen
opt:
- paths=source_relative
- require_unimplemented_servers=false
- plugin: es
opt: target=ts
out: ./js/rpc
- plugin: connect-es
opt: target=ts
out: ./js/rpc
- plugin: buf.build/bufbuild/connect-swift
opt: >
GenerateAsyncMethods=true,
GenerateCallbackMethods=true,
Visibility=Public
out: swift/Generated
- plugin: buf.build/apple/swift
opt: Visibility=Public
out: swift/Generated
# - plugin: elm
# opt: json
# out: ./js/elm/gen