Skip to content

Commit

Permalink
fixed frontend protobuf building for protobufjs version bump (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
TienHao authored Apr 23, 2024
1 parent 3219aca commit 202c31d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cd "$(dirname "$0")"
mkdir -p build

printf "Building all message modules..."
../node_modules/protobufjs/bin/pbjs -p shared -p control -p request -p stream -t static-module -o build/index.js --wrap es6 shared/*.proto control/*.proto request/*.proto stream/*.proto
../node_modules/protobufjs/bin/pbts -o build/index.d.ts build/index.js
../node_modules/protobufjs-cli/bin/pbjs -p shared -p control -p request -p stream -t static-module -o build/index.js --wrap es6 shared/*.proto control/*.proto request/*.proto stream/*.proto
../node_modules/protobufjs-cli/bin/pbts -o build/index.d.ts build/index.js
printf "...done\n"

#printf "Building Request message module..."
Expand Down

0 comments on commit 202c31d

Please sign in to comment.