mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-06 20:11:08 +00:00
script fixes
This commit is contained in:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user