forked from a2aproject/a2a-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
31 lines (28 loc) · 819 Bytes
/
Copy pathbuf.gen.yaml
File metadata and controls
31 lines (28 loc) · 819 Bytes
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
# Ensure $GOBIN is in path and dependencies are installed:
# > go install github.com/bufbuild/buf/cmd/buf@latest
# > go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
# > go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
#
# Then run:
# > buf generate
version: v2
inputs:
- git_repo: https://github.com/a2aproject/A2A.git
# Update to point to the desired git tag or commit
ref: e7cf203ecdd7003c0f1740bb712248d2b5252bf1
subdir: specification/grpc
managed:
enabled: true
override:
- file_option: go_package
path: a2a.proto
value: github.com/a2aproject/a2a-go/a2apb
plugins:
- remote: buf.build/protocolbuffers/go
out: a2apb
opt:
- paths=source_relative
- remote: buf.build/grpc/go
out: a2apb
opt:
- paths=source_relative