github.com/cosmos/cosmos-sdk@v0.50.10/scripts/protocgen-pulsar.sh (about) 1 # this script is for generating protobuf files for the new google.golang.org/protobuf API 2 set -eo pipefail 3 4 echo "Cleaning API directory" 5 (cd api; find ./ -type f \( -iname \*.pulsar.go -o -iname \*.pb.go -o -iname \*.cosmos_orm.go -o -iname \*.pb.gw.go \) -delete; find . -empty -type d -delete; cd ..) 6 7 echo "Generating API module" 8 (cd proto; buf generate --template buf.gen.pulsar.yaml) 9 10 echo "Generate Pulsar Test Data" 11 (cd testutil/testdata; buf generate --template buf.gen.pulsar.yaml) 12 13 echo "Generate x/tx" 14 (cd x/tx; make codegen)