Skip to content

Commit

Permalink
Updated protocgen script
Browse files Browse the repository at this point in the history
  • Loading branch information
cyborgshead committed Apr 24, 2024
1 parent 37b795b commit c4b0619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ for dir in $proto_dirs; do
echo ${dir}
for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do
if grep "option go_package" $file &> /dev/null ; then
buf generate --template buf.gen.gogo.yml $file
buf generate --template buf.gen.gogo.yaml $file
fi
done
done

protoc_install_proto_gen_doc

echo "Generating proto docs"
buf generate --template buf.gen.doc.yml
buf generate --template buf.gen.doc.yaml

cd ..

Expand Down

0 comments on commit c4b0619

Please sign in to comment.