Switch from .gopath to _gopath to be consistent with kubernetes.
parent
95498a23dd
commit
5cdb140b31
|
@ -24,7 +24,7 @@ _testmain.go
|
||||||
*.prof
|
*.prof
|
||||||
|
|
||||||
/out
|
/out
|
||||||
/.gopath
|
/_gopath
|
||||||
|
|
||||||
/pkg/minikube/cluster/localkubecontents.go
|
/pkg/minikube/cluster/localkubecontents.go
|
||||||
/minikube
|
/minikube
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ BUILD_DIR ?= ./out
|
||||||
ifeq ($(IN_DOCKER),1)
|
ifeq ($(IN_DOCKER),1)
|
||||||
GOPATH := /go
|
GOPATH := /go
|
||||||
else
|
else
|
||||||
GOPATH := $(shell pwd)/.gopath
|
GOPATH := $(shell pwd)/_gopath
|
||||||
endif
|
endif
|
||||||
|
|
||||||
REPOPATH ?= k8s.io/minikube
|
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}
|
go test -v ${TESTS}
|
||||||
|
|
||||||
# Check gofmt
|
# 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