mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-01 13:47:07 +00:00
rename intermediate proto packages
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
syntax = "proto3";
|
||||
package tendermint.abci;
|
||||
package intermediate.abci;
|
||||
|
||||
// For more information on gogo.proto, see:
|
||||
// https://github.com/gogo/protobuf/blob/master/extensions.md
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
syntax = "proto3";
|
||||
package tendermint.types;
|
||||
package intermediate.types;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user