| 1 |
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.6. 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.2.4-0.20201227120526-df6eae8f6734 |
| 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.2.4-0.20201227120526-df6eae8f6734" |
| 24 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.2.4-0.20201227120526-df6eae8f6734 "github.com/bwplotka/bingo" |
| 25 |
|
| 26 |
COPYRIGHT := $(GOBIN)/copyright-v0.0.0-20220817170617-6c25e3b627dd |
| 27 |
$(COPYRIGHT): $(BINGO_DIR)/copyright.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)/copyright-v0.0.0-20220817170617-6c25e3b627dd" |
| 30 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=copyright.mod -o=$(GOBIN)/copyright-v0.0.0-20220817170617-6c25e3b627dd "github.com/efficientgo/tools/copyright" |
| 31 |
|
| 32 |
FAILLINT := $(GOBIN)/faillint-v1.11.0 |
| 33 |
$(FAILLINT): $(BINGO_DIR)/faillint.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)/faillint-v1.11.0" |
| 36 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=faillint.mod -o=$(GOBIN)/faillint-v1.11.0 "github.com/fatih/faillint" |
| 37 |
|
| 38 |
GOIMPORTS := $(GOBIN)/goimports-v0.0.0-20200519204825-e64124511800 |
| 39 |
$(GOIMPORTS): $(BINGO_DIR)/goimports.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)/goimports-v0.0.0-20200519204825-e64124511800" |
| 42 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=goimports.mod -o=$(GOBIN)/goimports-v0.0.0-20200519204825-e64124511800 "golang.org/x/tools/cmd/goimports" |
| 43 |
|
| 44 |
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.49.0 |
| 45 |
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.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)/golangci-lint-v1.49.0" |
| 48 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.49.0 "github.com/golangci/golangci-lint/cmd/golangci-lint" |
| 49 |
|
| 50 |
MDOX := $(GOBIN)/mdox-v0.2.2-0.20210731105602-946757ef5f98 |
| 51 |
$(MDOX): $(BINGO_DIR)/mdox.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)/mdox-v0.2.2-0.20210731105602-946757ef5f98" |
| 54 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mdox.mod -o=$(GOBIN)/mdox-v0.2.2-0.20210731105602-946757ef5f98 "github.com/bwplotka/mdox" |
| 55 |
|
| 56 |
MISSPELL := $(GOBIN)/misspell-v0.3.4 |
| 57 |
$(MISSPELL): $(BINGO_DIR)/misspell.mod |
| 58 |
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 59 |
@echo "(re)installing $(GOBIN)/misspell-v0.3.4" |
| 60 |
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=misspell.mod -o=$(GOBIN)/misspell-v0.3.4 "github.com/client9/misspell/cmd/misspell" |
| 61 |
|