From ef4e3ef55ac5af96e89570dafaf2d0aa4b90aee8 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Mon, 10 Oct 2016 11:33:43 +0800 Subject: [PATCH] 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. --- scripts/genproto.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/genproto.sh b/scripts/genproto.sh index a0706a804..00d53a186 100755 --- a/scripts/genproto.sh +++ b/scripts/genproto.sh @@ -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 -