We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44b392 commit 25d08c5Copy full SHA for 25d08c5
Makefile
@@ -71,6 +71,13 @@ clean: ## Cleanup build artifacts and tool binaries.
71
72
##@ Build
73
74
+# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
75
+ifeq (,$(shell go env GOBIN))
76
+GOBIN=$(shell go env GOPATH)/bin
77
+else
78
+GOBIN=$(shell go env GOBIN)
79
+endif
80
+
81
.PHONY: install
82
install: ## Install operator-sdk and helm-operator.
83
@if [ -z "$(GOBIN)" ]; then \
0 commit comments