rename intermediate proto packages

This commit is contained in:
William Banfield
2022-03-03 12:20:15 -05:00
parent 94f74b09dc
commit 78e0e274c5
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -2,7 +2,10 @@
set -euo pipefail
cp ./proto/intermediate/abci/types.proto ./proto/tendermint/abci/types.proto
sed -i 's/package intermediate\./package tendermint\./g' ./proto/tendermint/abci/types.proto
cp ./proto/intermediate/types/types.proto ./proto/tendermint/types/types.proto
sed -i 's/package intermediate\./package tendermint\./g' ./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" \