Browse Source

Merge pull request #4399 from mitake/genproto

scripts: get goimports in genproto.sh
Jonathan Boulle 10 years ago
parent
commit
c98f6fa1b9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/genproto.sh

+ 1 - 0
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