Skip to content

Commit fbbc370

Browse files
chore: update generate script
1 parent 90cbf51 commit fbbc370

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/generate.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
set -euo pipefail
44

5-
if [[ "$OSTYPE" != "darwin"* ]]; then
6-
shopt -s globstar
7-
fi
8-
9-
for f in $(ls ./pkg/**/*.proto) ; do
5+
for f in $(find ./pkg -name "*.proto") ; do
106
echo "generating $f"
117
protoc -I ./ $f --go_opt=paths=source_relative --go_out=./ --go-grpc_opt=paths=source_relative --go-grpc_out=./
128
done

0 commit comments

Comments
 (0)