You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -54,11 +54,13 @@ install-controller-gen: FORCE
54
54
install-setup-envtest: FORCE
55
55
@if !hash setup-envtest 2>/dev/null;thenprintf"\e[1;36m>> Installing setup-envtest (this may take a while)...\e[0m\n"; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest;fi
56
56
57
-
GO_BUILDFLAGS := $(GO_BUILDFLAGS)
58
-
GO_LDFLAGS := $(GO_LDFLAGS)
59
-
GO_TESTFLAGS := $(GO_TESTFLAGS)
60
-
GO_TESTENV := $(GO_TESTENV)
61
-
GO_BUILDENV := $(GO_BUILDENV)
57
+
# To add additional flags or values, specify the variable in the environment, e.g. `GO_BUILDFLAGS='-tags experimental' make`.
58
+
# To override the default flags or values, specify the variable on the command line, e.g. `make GO_BUILDFLAGS='-tags experimental'`.
59
+
GO_BUILDFLAGS +=
60
+
GO_LDFLAGS +=
61
+
GO_TESTFLAGS +=
62
+
GO_TESTENV +=
63
+
GO_BUILDENV +=
62
64
63
65
# which packages to test with test runner
64
66
GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)
0 commit comments