|
| 1 | +# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.1. 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 | +# Bellow 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 copyright 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: $(COPYRIGHT) |
| 17 | +# @echo "Running copyright" |
| 18 | +# @$(COPYRIGHT) <flags/args..> |
| 19 | +# |
| 20 | +COPYRIGHT := $(GOBIN)/copyright-v0.0.0-20210112004814-138d5e5695fe |
| 21 | +$(COPYRIGHT): $(BINGO_DIR)/copyright.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)/copyright-v0.0.0-20210112004814-138d5e5695fe" |
| 24 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=copyright.mod -o=$(GOBIN)/copyright-v0.0.0-20210112004814-138d5e5695fe "github.com/efficientgo/tools/copyright" |
| 25 | + |
| 26 | +EMBEDMD := $(GOBIN)/embedmd-v1.0.0 |
| 27 | +$(EMBEDMD): $(BINGO_DIR)/embedmd.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)/embedmd-v1.0.0" |
| 30 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=embedmd.mod -o=$(GOBIN)/embedmd-v1.0.0 "github.com/campoy/embedmd" |
| 31 | + |
| 32 | +FAILLINT := $(GOBIN)/faillint-v1.5.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.5.0" |
| 36 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=faillint.mod -o=$(GOBIN)/faillint-v1.5.0 "github.com/fatih/faillint" |
| 37 | + |
| 38 | +GOIMPORTS := $(GOBIN)/goimports-v0.0.0-20210112230658-8b4aab62c064 |
| 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-20210112230658-8b4aab62c064" |
| 42 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=goimports.mod -o=$(GOBIN)/goimports-v0.0.0-20210112230658-8b4aab62c064 "golang.org/x/tools/cmd/goimports" |
| 43 | + |
| 44 | +GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.26.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.26.0" |
| 48 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.26.0 "github.com/golangci/golangci-lint/cmd/golangci-lint" |
| 49 | + |
| 50 | +MDOX := $(GOBIN)/mdox-v0.2.1 |
| 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.1" |
| 54 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mdox.mod -o=$(GOBIN)/mdox-v0.2.1 "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 | + |
| 62 | +PROXY := $(GOBIN)/proxy-v0.10.0 |
| 63 | +$(PROXY): $(BINGO_DIR)/proxy.mod |
| 64 | + @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
| 65 | + @echo "(re)installing $(GOBIN)/proxy-v0.10.0" |
| 66 | + @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=proxy.mod -o=$(GOBIN)/proxy-v0.10.0 "github.com/gomods/athens/cmd/proxy" |
| 67 | + |
0 commit comments