Use the download-only flag when fetching dependencies

This commit is contained in:
Joe Julian
2016-10-19 09:54:15 -07:00
parent 6d685ae4d6
commit d3af9105ee

View File

@@ -48,7 +48,7 @@ if go version | grep 'go1\.[0123]\.'; then
exit 1
fi
go get ./... # get all the go dependencies
go get -d ./... # get all the go dependencies
[ -e "$GOBIN/mgmt" ] && rm -f "$GOBIN/mgmt" # the `go get` version has no -X
# vet is built-in in go 1.6 - we check for go vet command
go vet 1> /dev/null 2>&1