Skip to content

Commit

Permalink
obey shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Oct 15, 2022
1 parent c7251c6 commit a92730a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for dir in $proto_dirs; do
--gocosmos_out=plugins=interfacetype+grpc,\
Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \
--grpc-gateway_out=logtostderr=true:. \
$(find "${dir}" -maxdepth 1 -name '*.proto')
"$(find "${dir}" -maxdepth 1 -name '*.proto')"

done

Expand All @@ -31,9 +31,9 @@ buf protoc \
-I "third_party/proto" \
--doc_out=./docs/core \
--doc_opt=./docs/protodoc-markdown.tmpl,proto-docs.md \
$(find "$(pwd)/proto" -maxdepth 5 -name '*.proto') \
$(find "$(pwd)/third_party/proto/cosmos" -maxdepth 4 -name '*.proto') \
$(find "$(pwd)/third_party/proto/ibc" -maxdepth 4 -name '*.proto')
"$(find "$(pwd)/proto" -maxdepth 5 -name '*.proto')" \
"$(find "$(pwd)/third_party/proto/cosmos" -maxdepth 4 -name '*.proto')" \
"$(find "$(pwd)/third_party/proto/ibc" -maxdepth 4 -name '*.proto')"

# move proto files to the right places
cp -r github.com/terra-money/core/* ./
Expand Down

0 comments on commit a92730a

Please sign in to comment.