|
1 | | -# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.2.5. DO NOT EDIT. |
| 1 | +# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.8. DO NOT EDIT. |
2 | 2 | # All tools are designed to be build inside $GOBIN. |
3 | 3 | BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
4 | 4 | GOPATH ?= $(shell go env GOPATH) |
5 | 5 | GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin |
6 | 6 | GO ?= $(shell which go) |
7 | 7 |
|
8 | | -# Bellow generated variables ensure that every time a tool under each variable is invoked, the correct version |
| 8 | +# Below generated variables ensure that every time a tool under each variable is invoked, the correct version |
9 | 9 | # will be used; reinstalling only if needed. |
10 | | -# For example for buf variable: |
| 10 | +# For example for bingo variable: |
11 | 11 | # |
12 | 12 | # In your main Makefile (for non array binaries): |
13 | 13 | # |
14 | 14 | #include .bingo/Variables.mk # Assuming -dir was set to .bingo . |
15 | 15 | # |
16 | | -#command: $(BUF) |
17 | | -# @echo "Running buf" |
18 | | -# @$(BUF) <flags/args..> |
| 16 | +#command: $(BINGO) |
| 17 | +# @echo "Running bingo" |
| 18 | +# @$(BINGO) <flags/args..> |
19 | 19 | # |
20 | | -BUF := $(GOBIN)/buf-v0.33.0 |
| 20 | +BINGO := $(GOBIN)/bingo-v0.8.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.8.0" |
| 24 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.8.0 "github.com/bwplotka/bingo" |
| 25 | + |
| 26 | +BUF := $(GOBIN)/buf-v0.56.0 |
21 | 27 | $(BUF): $(BINGO_DIR)/buf.mod |
22 | 28 | @# 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)/buf-v0.33.0" |
24 | | - @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.33.0 "github.com/bufbuild/buf/cmd/buf" |
| 29 | + @echo "(re)installing $(GOBIN)/buf-v0.56.0" |
| 30 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.56.0 "github.com/bufbuild/buf/cmd/buf" |
25 | 31 |
|
26 | 32 | FAILLINT := $(GOBIN)/faillint-v1.5.0 |
27 | 33 | $(FAILLINT): $(BINGO_DIR)/faillint.mod |
28 | 34 | @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
29 | 35 | @echo "(re)installing $(GOBIN)/faillint-v1.5.0" |
30 | | - @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=faillint.mod -o=$(GOBIN)/faillint-v1.5.0 "github.com/fatih/faillint" |
| 36 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=faillint.mod -o=$(GOBIN)/faillint-v1.5.0 "github.com/fatih/faillint" |
31 | 37 |
|
32 | 38 | GOIMPORTS := $(GOBIN)/goimports-v0.0.0-20200519204825-e64124511800 |
33 | 39 | $(GOIMPORTS): $(BINGO_DIR)/goimports.mod |
34 | 40 | @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
35 | 41 | @echo "(re)installing $(GOBIN)/goimports-v0.0.0-20200519204825-e64124511800" |
36 | | - @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=goimports.mod -o=$(GOBIN)/goimports-v0.0.0-20200519204825-e64124511800 "golang.org/x/tools/cmd/goimports" |
| 42 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goimports.mod -o=$(GOBIN)/goimports-v0.0.0-20200519204825-e64124511800 "golang.org/x/tools/cmd/goimports" |
37 | 43 |
|
38 | | -GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.26.0 |
| 44 | +GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.51.2 |
39 | 45 | $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod |
40 | 46 | @# 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)/golangci-lint-v1.26.0" |
42 | | - @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" |
| 47 | + @echo "(re)installing $(GOBIN)/golangci-lint-v1.51.2" |
| 48 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.51.2 "github.com/golangci/golangci-lint/cmd/golangci-lint" |
43 | 49 |
|
44 | 50 | MDOX := $(GOBIN)/mdox-v0.2.0 |
45 | 51 | $(MDOX): $(BINGO_DIR)/mdox.mod |
46 | 52 | @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
47 | 53 | @echo "(re)installing $(GOBIN)/mdox-v0.2.0" |
48 | | - @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mdox.mod -o=$(GOBIN)/mdox-v0.2.0 "github.com/bwplotka/mdox" |
| 54 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=mdox.mod -o=$(GOBIN)/mdox-v0.2.0 "github.com/bwplotka/mdox" |
49 | 55 |
|
50 | 56 | MISSPELL := $(GOBIN)/misspell-v0.3.4 |
51 | 57 | $(MISSPELL): $(BINGO_DIR)/misspell.mod |
52 | 58 | @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. |
53 | 59 | @echo "(re)installing $(GOBIN)/misspell-v0.3.4" |
54 | | - @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=misspell.mod -o=$(GOBIN)/misspell-v0.3.4 "github.com/client9/misspell/cmd/misspell" |
| 60 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=misspell.mod -o=$(GOBIN)/misspell-v0.3.4 "github.com/client9/misspell/cmd/misspell" |
55 | 61 |
|
56 | | -PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.25.0 |
| 62 | +PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.30.0 |
57 | 63 | $(PROTOC_GEN_GO): $(BINGO_DIR)/protoc-gen-go.mod |
58 | 64 | @# 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)/protoc-gen-go-v1.25.0" |
60 | | - @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.25.0 "google.golang.org/protobuf/cmd/protoc-gen-go" |
| 65 | + @echo "(re)installing $(GOBIN)/protoc-gen-go-v1.30.0" |
| 66 | + @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.30.0 "google.golang.org/protobuf/cmd/protoc-gen-go" |
61 | 67 |
|
0 commit comments