|
|
@ -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' \ |
|
|
|