Switch from .gopath to _gopath to be consistent with kubernetes.

pull/104/head
dlorenc 2016-05-24 10:25:09 -07:00
parent 95498a23dd
commit 5cdb140b31
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -24,7 +24,7 @@ _testmain.go
*.prof
/out
/.gopath
/_gopath
/pkg/minikube/cluster/localkubecontents.go
/minikube

View File

@ -19,7 +19,7 @@ BUILD_DIR ?= ./out
ifeq ($(IN_DOCKER),1)
GOPATH := /go
else
GOPATH := $(shell pwd)/.gopath
GOPATH := $(shell pwd)/_gopath
endif
REPOPATH ?= k8s.io/minikube

View File

@ -22,4 +22,4 @@ TESTS=$(go list -f '{{ if .TestGoFiles }} {{.ImportPath}} {{end}}' ./...)
go test -v ${TESTS}
# Check gofmt
diff -u <(echo -n) <(gofmt -l -s . | grep -v "vendor\|\.gopath\|localkubecontents.go")
diff -u <(echo -n) <(gofmt -l -s . | grep -v "vendor\|\_gopath\|localkubecontents.go")