|
| 1 | +# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9. DO NOT EDIT. |
| 2 | +# All tools are designed to be build inside $GOBIN. |
| 3 | +BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
| 4 | +GOPATH ?= $(shell go env GOPATH) |
| 5 | +GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin |
| 6 | +GO ?= $(shell which go) |
| 7 | + |
| 8 | +# Below generated variables ensure that every time a tool under each variable is invoked, the correct version |
| 9 | +# will be used; reinstalling only if needed. |
| 10 | +# For example for bingo variable: |
| 11 | +# |
| 12 | +# In your main Makefile (for non array binaries): |
| 13 | +# |
| 14 | +#include .bingo/Variables.mk # Assuming -dir was set to .bingo . |
| 15 | +# |
| 16 | +#command: $(BINGO) |
| 17 | +# @echo "Running bingo" |
| 18 | +# @$(BINGO) <flags/args..> |
| 19 | +# |
| 20 | +BINGO := $(GOBIN)/bingo-v0.9.0 |
| 21 | +$(BINGO): $(BINGO_DIR)/bingo.mod |
| 22 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 23 | + @echo "(re)installing $(GOBIN)/bingo-v0.9.0" |
| 24 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.9.0 "github.com/bwplotka/bingo" |
| 25 | + |
| 26 | +GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.59.0 |
| 27 | +$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod |
| 28 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 29 | + @echo "(re)installing $(GOBIN)/golangci-lint-v1.59.0" |
| 30 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.59.0 "github.com/golangci/golangci-lint/cmd/golangci-lint" |
| 31 | + |
| 32 | +HELM := $(GOBIN)/helm-v3.15.1 |
| 33 | +$(HELM): $(BINGO_DIR)/helm.mod |
| 34 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 35 | + @echo "(re)installing $(GOBIN)/helm-v3.15.1" |
| 36 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=helm.mod -o=$(GOBIN)/helm-v3.15.1 "helm.sh/helm/v3/cmd/helm" |
| 37 | + |
| 38 | +KIND := $(GOBIN)/kind-v0.23.0 |
| 39 | +$(KIND): $(BINGO_DIR)/kind.mod |
| 40 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 41 | + @echo "(re)installing $(GOBIN)/kind-v0.23.0" |
| 42 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=kind.mod -o=$(GOBIN)/kind-v0.23.0 "sigs.k8s.io/kind" |
| 43 | + |
| 44 | +SETUP_ENVTEST := $(GOBIN)/setup-envtest-v0.0.0-20240522175850-2e9781e9fc60 |
| 45 | +$(SETUP_ENVTEST): $(BINGO_DIR)/setup-envtest.mod |
| 46 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 47 | + @echo "(re)installing $(GOBIN)/setup-envtest-v0.0.0-20240522175850-2e9781e9fc60" |
| 48 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=setup-envtest.mod -o=$(GOBIN)/setup-envtest-v0.0.0-20240522175850-2e9781e9fc60 "sigs.k8s.io/controller-runtime/tools/setup-envtest" |
| 49 | + |
| 50 | +YQ := $(GOBIN)/yq-v3.0.0-20201202084205-8846255d1c37 |
| 51 | +$(YQ): $(BINGO_DIR)/yq.mod |
| 52 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 53 | + @echo "(re)installing $(GOBIN)/yq-v3.0.0-20201202084205-8846255d1c37" |
| 54 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=yq.mod -o=$(GOBIN)/yq-v3.0.0-20201202084205-8846255d1c37 "github.com/mikefarah/yq/v3" |
| 55 | + |
0 commit comments