mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: get goimports in genproto.sh
genproto.sh uses goimports. Getting the command in the script is useful.
This commit is contained in:
parent
456975f631
commit
be9c9ae7d5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user