mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts/genproto: run "protodoc" by default
Do not skip "protodoc" by default. Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
ebd58a0ea3
commit
dac6948774
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user