|
...
|
...
|
@@ -9,16 +9,6 @@ source "${OS_ROOT}/hack/common.sh"
|
|
9
|
9
|
GO_VERSION=($(go version))
|
|
10
|
10
|
echo "Detected go version: $(go version)"
|
|
11
|
11
|
|
|
12
|
|
-go get golang.org/x/tools/cmd/cover github.com/tools/godep golang.org/x/tools/cmd/vet
|
|
13
|
|
-
|
|
14
|
|
-# Check out a stable commit for go vet in order to version lock it to something we can work with
|
|
15
|
|
-pushd $GOPATH/src/golang.org/x/tools >/dev/null 2>&1
|
|
16
|
|
- git fetch
|
|
17
|
|
- git checkout c262de870b618eed648983aa994b03bc04641c72
|
|
18
|
|
-popd >/dev/null 2>&1
|
|
19
|
|
-
|
|
20
|
|
-# Re-install using this version of the tool
|
|
21
|
|
-go install golang.org/x/tools/cmd/vet
|
|
22
|
|
-
|
|
|
12
|
+go get github.com/tools/godep
|
|
23
|
13
|
|
|
24
|
14
|
ret=$?; ENDTIME=$(date +%s); echo "$0 took $(($ENDTIME - $STARTTIME)) seconds"; exit "$ret"
|