Fix testdata proto-gen (#6568)

This commit is contained in:
Aaron Craelius
2020-07-01 15:26:29 +00:00
committed by GitHub
parent 0f0723dd78
commit 99ea4b759a
6 changed files with 67 additions and 61 deletions
+7
View File
@@ -12,5 +12,12 @@ Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \
$(find "${dir}" -maxdepth 1 -name '*.proto')
done
# generate codec/testdata proto code
protoc -I "proto" -I "third_party/proto" -I "codec/testdata" --gocosmos_out=plugins=interfacetype+grpc,\
Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. ./codec/testdata/proto.proto
# move proto files to the right places
cp -r github.com/cosmos/cosmos-sdk/* ./
rm -rf github.com