Switch from .gopath to _gopath to be consistent with kubernetes.
parent
95498a23dd
commit
5cdb140b31
|
@ -24,7 +24,7 @@ _testmain.go
|
|||
*.prof
|
||||
|
||||
/out
|
||||
/.gopath
|
||||
/_gopath
|
||||
|
||||
/pkg/minikube/cluster/localkubecontents.go
|
||||
/minikube
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
2
test.sh
2
test.sh
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue