Minor changes to Makefile to avoid the make failure when GOPATH/bin is not part of PATH

This commit is contained in:
Karthic Rao 2016-01-20 14:46:12 +05:30
parent 9cb590d800
commit b457a61cb2

View File

@ -41,13 +41,13 @@ fmt:
lint:
@echo "Running $@:"
@GO15VENDOREXPERIMENT=1 golint *.go
@GO15VENDOREXPERIMENT=1 golint github.com/minio/minio/pkg...
@GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint *.go
@GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint github.com/minio/minio/pkg...
cyclo:
@echo "Running $@:"
@GO15VENDOREXPERIMENT=1 gocyclo -over 65 *.go
@GO15VENDOREXPERIMENT=1 gocyclo -over 65 pkg
@GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/gocyclo -over 65 *.go
@GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/gocyclo -over 65 pkg
build: getdeps verifiers
@echo "Installing minio:"