mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: Don't erase gopath.proto after genproto.sh
Wiping gopath.proto after a successful run does nothing but slow down the next run unnecessarily as it downloads everything again.
This commit is contained in:
parent
602fd6a67e
commit
ef4e3ef55a
@ -76,8 +76,6 @@ protoc -I. \
|
||||
--swagger_out=logtostderr=true:./Documentation/dev-guide/apispec/swagger/. \
|
||||
./etcdserver/etcdserverpb/rpc.proto
|
||||
|
||||
rm -rf ${PWD}/gopath.proto
|
||||
|
||||
# TODO: change this whenever we add more swagger API
|
||||
mv \
|
||||
Documentation/dev-guide/apispec/swagger/etcdserver/etcdserverpb/rpc.swagger.json \
|
||||
@ -112,4 +110,3 @@ if [ "$1" = "-g" ]; then
|
||||
else
|
||||
echo "skipping grpc API reference document auto-generation..."
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user