Skip to content

Commit

Permalink
added check if buf is installed in proto-gen script
Browse files Browse the repository at this point in the history
  • Loading branch information
ag060 committed Dec 12, 2024
1 parent 0c5975e commit cafc94e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/proto-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

# Check if buf is installed or not
# Please install buf if not already installed by following the instructions at https://docs.buf.build/installation
if ! command -v buf >/dev/null 2>&1; then
echo "Please install buf if not already installed by following the instructions at https://docs.buf.build/installation"
exit
fi
buf lint protobuf
rm -rf ./libs/protobuf/src
buf generate protobuf

0 comments on commit cafc94e

Please sign in to comment.