Skip to content

Commit

Permalink
gen all proto
Browse files Browse the repository at this point in the history
  • Loading branch information
tubackkhoa committed Jan 11, 2023
1 parent e103f0b commit de7e7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/contrib/local/protocgen-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COSMOS_SDK_DIR=${COSMOS_SDK_DIR:-$(go list -f "{{ .Dir }}" -m github.com/cosmos/
IBC_DIR=${IBC_DIR:-$(go list -f "{{ .Dir }}" -m github.com/cosmos/ibc-go/v3)}

# scan all folders that contain proto file
proto_dirs=$(find $PROJECTDIR/proto $IBC_DIR/proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
proto_dirs=$(find $PROJECTDIR/proto $IBC_DIR/proto $COSMOS_SDK_DIR/proto $COSMOS_SDK_DIR/third_party/proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
proto_files=()

for dir in $proto_dirs; do
Expand Down

0 comments on commit de7e7ee

Please sign in to comment.