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

Commit 74c34be

Browse files
committed
small cleanup for Makefile
1 parent 46acfbd commit 74c34be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
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+
export GO111MODULE ?= on
1921

2022
# Use GOPROXY environment variable if set
2123
GOPROXY := $(shell go env GOPROXY)
@@ -55,9 +57,6 @@ CRD_ROOT ?= "$(MANIFEST_ROOT)/crd/bases"
5557
WEBHOOK_ROOT ?= "$(MANIFEST_ROOT)/webhook"
5658
RBAC_ROOT ?= "$(MANIFEST_ROOT)/rbac"
5759

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

0 commit comments

Comments
 (0)