Browse Source

script fixes

pull/8065/head
William Banfield 3 years ago
parent
commit
39eb3b0680
No known key found for this signature in database GPG Key ID: EFAD3442BF29E3AC
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/abci-gen.sh

+ 2
- 2
scripts/abci-gen.sh View File

@ -5,7 +5,7 @@ cp ./proto/tendermint/abci/types.proto.intermediate ./proto/tendermint/abci/type
cp ./proto/tendermint/types/types.proto.intermediate ./proto/tendermint/types/types.proto
MODNAME="$(go list -m)"
find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" -not -path "./proto/intermediate" \
find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" \
-exec sh ./scripts/protopackage.sh {} "$MODNAME" ';'
sh ./scripts/protopackage.sh ./proto/tendermint/abci/types.proto $MODNAME "abci/types"
@ -18,7 +18,7 @@ echo "proto files have been compiled"
echo "checking out copied files"
find proto/tendermint/ -name '*.proto' \
find proto/tendermint/ -name '*.proto' -not -path "*.intermediate"\
| xargs -I {} git checkout {}
find proto/tendermint/ -name '*.pb.go' \


Loading…
Cancel
Save