Makefile: install tools in system's gopath
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
aebd365cf4
commit
c11bf15e83
1 changed files with 5 additions and 10 deletions
15
Makefile
15
Makefile
|
@ -6,6 +6,7 @@ OCID_IMAGE := ocid_dev$(if $(GIT_BRANCH_CLEAN),:$(GIT_BRANCH_CLEAN))
|
|||
OCID_LINK := ${CURDIR}/vendor/src/github.com/kubernetes-incubator/ocid
|
||||
OCID_LINK_DIR := ${CURDIR}/vendor/src/github.com/kubernetes-incubator
|
||||
OCID_INSTANCE := ocid_dev
|
||||
SYSTEM_GOPATH := ${GOPATH}
|
||||
export GOPATH := ${CURDIR}/vendor
|
||||
|
||||
default: help
|
||||
|
@ -70,20 +71,14 @@ endif
|
|||
|
||||
.PHONY: install.tools
|
||||
|
||||
install.tools: .install.gitvalidation .install.glide .install.glide-vc .install.gometalinter
|
||||
install.tools: .install.gitvalidation .install.gometalinter
|
||||
|
||||
.install.gitvalidation:
|
||||
go get github.com/vbatts/git-validation
|
||||
|
||||
.install.glide:
|
||||
go get github.com/Masterminds/glide
|
||||
|
||||
.install.glide-vc:
|
||||
go get github.com/sgotti/glide-vc
|
||||
GOPATH=${SYSTEM_GOPATH} go get github.com/vbatts/git-validation
|
||||
|
||||
.install.gometalinter:
|
||||
go get github.com/alecthomas/gometalinter
|
||||
gometalinter --install
|
||||
GOPATH=${SYSTEM_GOPATH} go get github.com/alecthomas/gometalinter
|
||||
GOPATH=${SYSTEM_GOPATH} gometalinter --install
|
||||
|
||||
.PHONY: \
|
||||
binaries \
|
||||
|
|
Loading…
Reference in a new issue