Debian Codegraph @

.bingo/Variables.mk

raw symbols SCIP
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.62.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.62.2"
30 @cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.62.2 "github.com/golangci/golangci-lint/cmd/golangci-lint"
31