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
ENVTEST_VERSION := $(shell go list -m k8s.io/client-go | cut -d" " -f2 | sed 's/^v0\.\([[:digit:]]\{1,\}\)\.[[:digit:]]\{1,\}$$/1.\1.x/')
135
-
UNIT_TEST_DIRS:= $(shell go list ./... | grep -v /test/)
135
+
UNIT_TEST_DIRS := $(shell go list ./... | grep -v /test/)
136
136
test-unit: $(SETUP_ENVTEST)#HELP Run the unit tests
137
137
eval$$($(SETUP_ENVTEST) use -p env $(ENVTEST_VERSION)$(SETUP_ENVTEST_BIN_DIR_OVERRIDE))&& go test -count=1 -short $(UNIT_TEST_DIRS) -coverprofile cover.out
138
138
@@ -208,9 +208,9 @@ endif
208
208
exportCGO_ENABLED
209
209
210
210
exportGO_BUILD_ASMFLAGS := all=-trimpath=$(PWD)
211
-
exportGO_BUILD_LDFLAGS:= -s -w -X $(shell go list -m)/version.Version=$(VERSION)
212
-
exportGO_BUILD_GCFLAGS:= all=-trimpath=$(PWD)
213
-
exportGO_BUILD_FLAGS:=
211
+
exportGO_BUILD_LDFLAGS := -s -w -X $(shell go list -m)/version.Version=$(VERSION)
0 commit comments