From be9c9ae7d524845131285caa3c95a4d05a50e5ac Mon Sep 17 00:00:00 2001 From: Hitoshi Mitake Date: Thu, 4 Feb 2016 00:35:36 +0900 Subject: [PATCH] scripts: get goimports in genproto.sh genproto.sh uses goimports. Getting the command in the script is useful. --- scripts/genproto.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/genproto.sh b/scripts/genproto.sh index 3de79d463..b26985e8c 100755 --- a/scripts/genproto.sh +++ b/scripts/genproto.sh @@ -42,6 +42,7 @@ ln -s "${PWD}" "${ETCD_ROOT}" # Ensure we have the right version of protoc-gen-gogo by building it every time. # TODO(jonboulle): vendor this instead of `go get`ting it. go get github.com/gogo/protobuf/{proto,protoc-gen-gogo,gogoproto} +go get golang.org/x/tools/cmd/goimports pushd "${GOGOPROTO_ROOT}" git reset --hard "${SHA}" make install