File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,13 @@ tasks:
232
232
- protoc:check
233
233
- protoc:format
234
234
- protoc:compile
235
+ - protobc:breaking-change-detection
235
236
236
237
protoc:compile :
237
238
desc : Compile protobuf definitions
238
239
cmds :
239
- - ' {{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/commands/v1/*.proto'
240
+ - buf dep update
241
+ - buf generate
240
242
241
243
protoc:docs :
242
244
desc : Generate docs for protobuf definitions
@@ -251,7 +253,7 @@ tasks:
251
253
protoc:check :
252
254
desc : Perform linting of the protobuf definitions
253
255
cmds :
254
- - buf lint rpc
256
+ - buf lint
255
257
256
258
protoc:collect :
257
259
desc : Create a zip file containing all .proto files in DIST_DIR
@@ -263,7 +265,12 @@ tasks:
263
265
protoc:format :
264
266
desc : Perform formatting of the protobuf definitions
265
267
cmds :
266
- - clang-format -i rpc/cc/arduino/cli/*/*/*.proto
268
+ - buf format --write --exit-code
269
+
270
+ protobc:breaking-change-detection :
271
+ desc : Detect protobuf breaking changes
272
+ cmds :
273
+ - buf breaking --against '.git#branch=origin/master,subdir=rpc'
267
274
268
275
build :
269
276
desc : Build the project
You can’t perform that action at this time.
0 commit comments