Skip to content

Commit b66e61d

Browse files
Use buf.build to handle proto files
1 parent c5812ee commit b66e61d

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

rpc/buf.gen.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: v2
2+
plugins:
3+
# Use protoc-gen-go
4+
- remote: buf.build/protocolbuffers/go:v1.34.2
5+
out: .
6+
opt:
7+
- paths=source_relative
8+
# Use of protoc-gen-go-grpc
9+
- remote: buf.build/grpc/go:v1.5.1
10+
out: .
11+
opt:
12+
- paths=source_relative
13+
inputs:
14+
- directory: .
15+

rpc/buf.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Generated by buf. DO NOT EDIT.
2+
version: v2
3+
deps:
4+
- name: buf.build/googleapis/googleapis
5+
commit: e7f8d366f5264595bcc4cd4139af9973
6+
digest: b5:0cd69a689ee320ed815663d57d1bc3a1d6823224a7a717d46fee3a68197c25a6f5f932c0b0e49f8370c70c247a6635969a6a54af5345cafd51e0667298768aca

rpc/buf.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
version: v1beta1
1+
version: v2
2+
deps:
3+
- buf.build/googleapis/googleapis
4+
modules:
5+
- path: .
6+
# TODO: once we have our org account change this with arduino
7+
name: buf.build/alessio/arduino-cli
28
lint:
39
ignore:
410
- google

0 commit comments

Comments
 (0)