Skip to content

Commit

Permalink
buf improvements prior to publishing on BSR (cometbft#1726)
Browse files Browse the repository at this point in the history
* proto: bump gogo-proto dependency in buf.lock

* proto: exclude tendermint directory from buf build

We don't want the legacy tendermint files to be used in code generation,
we don't lint them either.
  • Loading branch information
mzabaluev authored Dec 4, 2023
1 parent 9cccc8c commit 7c9a732
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion proto/buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ deps:
- remote: buf.build
owner: cosmos
repository: gogo-proto
commit: 6652e3443c3b4504bb3bf82e73a7e409
commit: 5e5b9fdd01804356895f8f79a6f1ddc1
digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952
5 changes: 3 additions & 2 deletions proto/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ deps:
breaking:
use:
- FILE
build:
excludes:
- tendermint
lint:
use:
- DEFAULT
- COMMENTS
- FILE_LOWER_SNAKE_CASE
except:
- COMMENT_FIELD
ignore:
- tendermint
ignore_only:
ENUM_VALUE_PREFIX:
- cometbft/abci/v1beta1
Expand Down

0 comments on commit 7c9a732

Please sign in to comment.