fix(Makefile): disable go modules

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/8060/head
Matthew Fisher 5 years ago
parent 5f2584fd3d
commit b6771ab6c4
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -122,7 +122,7 @@ docker-test-unit: check-docker
-v $(shell pwd):/go/src/k8s.io/helm \ -v $(shell pwd):/go/src/k8s.io/helm \
-w /go/src/k8s.io/helm \ -w /go/src/k8s.io/helm \
$(DEV_IMAGE) \ $(DEV_IMAGE) \
bash -c "HELM_HOME=/no/such/dir go test $(GOFLAGS) -run $(TESTS) $(PKG) $(TESTFLAGS)" bash -c "HELM_HOME=/no/such/dir $(GO) test $(GOFLAGS) -run $(TESTS) $(PKG) $(TESTFLAGS)"
.PHONY: test-style .PHONY: test-style
test-style: test-style:
@ -168,16 +168,16 @@ HAS_GIT := $(shell command -v git;)
.PHONY: bootstrap .PHONY: bootstrap
bootstrap: bootstrap:
ifndef HAS_GLIDE ifndef HAS_GLIDE
go get -u github.com/Masterminds/glide $(GO) get -u github.com/Masterminds/glide
endif endif
ifndef HAS_GOX ifndef HAS_GOX
go get -u github.com/mitchellh/gox $(GO) get -u github.com/mitchellh/gox
endif endif
ifndef HAS_GIT ifndef HAS_GIT
$(error You must install Git) $(error You must install Git)
endif endif
glide install --strip-vendor glide install --strip-vendor
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go $(GO) build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
include versioning.mk include versioning.mk

Loading…
Cancel
Save