Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit c94ead1

Browse files
authored
Merge pull request #238 from SataQiu/improve-makefile
Small cleanup for Makefile
2 parents ac20d71 + af791b4 commit c94ead1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
# If you update this file, please follow:
1616
# https://suva.sh/posts/well-documented-makefiles/
1717

18-
.DEFAULT_GOAL:=help
18+
.DEFAULT_GOAL := help
19+
20+
# Active go module, as we use it to manage dependencies
21+
export GO111MODULE := on
1922

2023
# Use GOPROXY environment variable if set
2124
GOPROXY := $(shell go env GOPROXY)
@@ -55,9 +58,6 @@ CRD_ROOT ?= "$(MANIFEST_ROOT)/crd/bases"
5558
WEBHOOK_ROOT ?= "$(MANIFEST_ROOT)/webhook"
5659
RBAC_ROOT ?= "$(MANIFEST_ROOT)/rbac"
5760

58-
# Active module mode, as we use go modules to manage dependencies
59-
export GO111MODULE=on
60-
6161
.PHONY: all
6262
all: manager
6363

0 commit comments

Comments
 (0)