Protobuf Manage for multi remote git repo
init pbm project
pbm -init
build proto protobuf
pbm -build
update dep buf latest
pbm -update
clean pbm dep
pbm -clean
example pbm.yaml
version: v1
deps:
- remote: https://cnb.cool/medianexapp/plugin_api
ref: main
- remote: https://github.com/googleapis/googleapis
ref: master
- remote: https://github.com/bufbuild/protoc-gen-validate
ref: main
gen:
- plugin: go-lite
out: .
opt:
- paths=source_relative
- plugin: validate-go
out: .
opt:
- paths=source_relative
input:
- local: testdata/proto
desc_out: testdata/proto/proto1.pb
- Builder
- Lint
- Break
- Protobuf Lsp