This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ BINDIR ?= $(CURDIR)/bin
3
3
HACK_DIR ?= hack
4
4
PATH := $(BINDIR ) :$(PATH )
5
5
6
+ export GO111MODULE =on
7
+
6
8
help : # # display this help
7
9
@awk ' BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n\nTargets:\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-20s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST )
8
10
26
28
27
29
$(BINDIR ) /mockgen :
28
30
mkdir -p $(BINDIR )
29
- GO111MODULE=on go build -o $(BINDIR ) /mockgen github.com/golang/mock/mockgen
31
+ go build -o $(BINDIR ) /mockgen github.com/golang/mock/mockgen
30
32
31
33
$(BINDIR ) /kubectl :
32
34
mkdir -p $(BINDIR )
@@ -98,7 +100,7 @@ e2e-1.11: build ## run end to end tests for kubernetes version 1.11
98
100
KUBE_OIDC_PROXY_NODE_IMAGE=1.11.10 go test ./pkg/e2e/. -v --count=1
99
101
100
102
build : generate # # build kube-oidc-proxy
101
- GO111MODULE=on CGO_ENABLED=0 go build -ldflags ' -w $(shell hack/version-ldflags.sh)'
103
+ CGO_ENABLED=0 go build -ldflags ' -w $(shell hack/version-ldflags.sh)'
102
104
103
105
docker_build : generate test build # # build docker image
104
106
docker build -t kube-oidc-proxy .
You can’t perform that action at this time.
0 commit comments