File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ gotool.ginkgo:
48
48
@GOPATH=$(abspath $(TMP_GOPATH ) ) go install github.com/onsi/ginkgo/ginkgo
49
49
50
50
# Lock to a versioned dep
51
- gotool.dep : DEP_VERSION ?= "0 .4.1"
51
+ gotool.dep : DEP_VERSION ?= "v0 .4.1"
52
52
gotool.dep :
53
53
@echo " Getting dep $( DEP_VERSION) "
54
- @GOPATH=$(abspath $(TMP_GOPATH ) ) go get -d github.com/golang/dep
55
- @cd $(abspath $(TMP_GOPATH ) ) git checkout $(DEP_VERSION )
54
+ @GOPATH=$(abspath $(TMP_GOPATH ) ) go get -d -u github.com/golang/dep
55
+ @cd $(abspath $(TMP_GOPATH ) ) /src/github.com/golang/dep && git checkout -q $(DEP_VERSION )
56
56
@echo " Building github.com/golang/dep -> dep"
57
57
@GOPATH=$(abspath $(TMP_GOPATH ) ) go install -ldflags=" -X main.version=$( DEP_VERSION) -X main.buildDate=$$ (date '+%Y-%m-%d')" github.com/golang/dep/cmd/dep
58
58
You can’t perform that action at this time.
0 commit comments