|
| 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.55.2 |
| 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.55.2" |
| 30 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.55.2 "github.com/golangci/golangci-lint/cmd/golangci-lint" |
| 31 | + |
| 32 | +GORELEASER := $(GOBIN)/goreleaser-v1.16.2 |
| 33 | +$(GORELEASER): $(BINGO_DIR)/goreleaser.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)/goreleaser-v1.16.2" |
| 36 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN)/goreleaser-v1.16.2 "github.com/goreleaser/goreleaser" |
| 37 | + |
| 38 | +KIND := $(GOBIN)/kind-v0.20.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.20.0" |
| 42 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=kind.mod -o=$(GOBIN)/kind-v0.20.0 "sigs.k8s.io/kind" |
| 43 | + |
| 44 | +SETUP_ENVTEST := $(GOBIN)/setup-envtest-v0.0.0-20240215124517-56159419231e |
| 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-20240215124517-56159419231e" |
| 48 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=setup-envtest.mod -o=$(GOBIN)/setup-envtest-v0.0.0-20240215124517-56159419231e "sigs.k8s.io/controller-runtime/tools/setup-envtest" |
| 49 | + |
0 commit comments