Skip to content

Commit

Permalink
scripts/genproto: run "protodoc" by default
Browse files Browse the repository at this point in the history
Do not skip "protodoc" by default.

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Feb 13, 2018
1 parent ebd58a0 commit dac6948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/genproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ schwag -input=Documentation/dev-guide/apispec/swagger/rpc.swagger.json
# install protodoc
# go get -v -u github.com/coreos/protodoc
#
# by default, do not run this option.
# only run when './scripts/genproto.sh -g'
# run './scripts/genproto.sh --skip-protodoc'
# to skip protodoc generation
#
if [ "$1" = "-g" ]; then
if [ "$1" != "--skip-protodoc" ]; then
echo "protodoc is auto-generating grpc API reference documentation..."
go get -v -u github.com/coreos/protodoc
SHA_PROTODOC="4372ee725035a208404e2d5465ba921469decc32"
Expand Down

0 comments on commit dac6948

Please sign in to comment.