chore: ignore store v1 proto generation (#18224)

Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
Aleksandr Bezobchuk
2023-10-24 15:35:33 +00:00
committed by GitHub
co-authored by Marko
parent 4352ab1f34
commit 2f23e8a95c
7 changed files with 93 additions and 30 deletions
+1 -2
View File
@@ -11,7 +11,7 @@ set -e
echo "Generating gogo proto code"
cd proto
proto_dirs=$(find ./cosmos ./amino -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
proto_dirs=$(find ./cosmos ./amino -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq | grep -v '^./cosmos/store/')
for dir in $proto_dirs; do
for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do
# this regex checks if a proto file has its go_package set to cosmossdk.io/api/...
@@ -38,4 +38,3 @@ rm -rf github.com cosmossdk.io
go mod tidy
./scripts/protocgen-pulsar.sh