2022-11-03 10:04:39 -05:00
|
|
|
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.7. DO NOT EDIT.
|
2021-08-25 08:11:22 -05:00
|
|
|
# All tools are designed to be build inside $GOBIN.
|
|
|
|
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
|
|
GOPATH ?= $(shell go env GOPATH)
|
|
|
|
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
|
|
|
|
GO ?= $(shell which go)
|
|
|
|
|
|
|
|
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
|
|
|
|
# will be used; reinstalling only if needed.
|
2022-06-21 04:08:08 -05:00
|
|
|
# For example for bra variable:
|
2021-08-25 08:11:22 -05:00
|
|
|
#
|
|
|
|
# In your main Makefile (for non array binaries):
|
|
|
|
#
|
|
|
|
#include .bingo/Variables.mk # Assuming -dir was set to .bingo .
|
|
|
|
#
|
2022-06-21 04:08:08 -05:00
|
|
|
#command: $(BRA)
|
|
|
|
# @echo "Running bra"
|
|
|
|
# @$(BRA) <flags/args..>
|
2021-08-25 08:11:22 -05:00
|
|
|
#
|
2022-06-21 04:08:08 -05:00
|
|
|
BRA := $(GOBIN)/bra-v0.0.0-20200517080246-1e3013ecaff8
|
|
|
|
$(BRA): $(BINGO_DIR)/bra.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
|
|
|
@echo "(re)installing $(GOBIN)/bra-v0.0.0-20200517080246-1e3013ecaff8"
|
2022-11-03 10:04:39 -05:00
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=bra.mod -o=$(GOBIN)/bra-v0.0.0-20200517080246-1e3013ecaff8 "github.com/unknwon/bra"
|
2022-06-21 04:08:08 -05:00
|
|
|
|
2022-06-02 10:31:06 -05:00
|
|
|
DRONE := $(GOBIN)/drone-v1.5.0
|
2021-10-14 09:02:45 -05:00
|
|
|
$(DRONE): $(BINGO_DIR)/drone.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
2022-06-02 10:31:06 -05:00
|
|
|
@echo "(re)installing $(GOBIN)/drone-v1.5.0"
|
2022-11-03 10:04:39 -05:00
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=drone.mod -o=$(GOBIN)/drone-v1.5.0 "github.com/drone/drone-cli/drone"
|
2021-10-14 09:02:45 -05:00
|
|
|
|
2022-12-15 05:58:48 -06:00
|
|
|
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.50.1
|
2022-06-17 12:46:20 -05:00
|
|
|
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
2022-12-15 05:58:48 -06:00
|
|
|
@echo "(re)installing $(GOBIN)/golangci-lint-v1.50.1"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.50.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"
|
2022-11-03 10:04:39 -05:00
|
|
|
|
|
|
|
JB := $(GOBIN)/jb-v0.5.1
|
|
|
|
$(JB): $(BINGO_DIR)/jb.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
|
|
|
@echo "(re)installing $(GOBIN)/jb-v0.5.1"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=jb.mod -o=$(GOBIN)/jb-v0.5.1 "github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb"
|
2022-06-17 12:46:20 -05:00
|
|
|
|
2022-09-14 09:47:19 -05:00
|
|
|
SWAGGER := $(GOBIN)/swagger-v0.30.2
|
|
|
|
$(SWAGGER): $(BINGO_DIR)/swagger.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
|
|
|
@echo "(re)installing $(GOBIN)/swagger-v0.30.2"
|
2022-11-03 10:04:39 -05:00
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=swagger.mod -o=$(GOBIN)/swagger-v0.30.2 "github.com/go-swagger/go-swagger/cmd/swagger"
|
2022-09-14 09:47:19 -05:00
|
|
|
|
2021-08-25 08:11:22 -05:00
|
|
|
WIRE := $(GOBIN)/wire-v0.5.0
|
|
|
|
$(WIRE): $(BINGO_DIR)/wire.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
|
|
|
@echo "(re)installing $(GOBIN)/wire-v0.5.0"
|
2022-11-03 10:04:39 -05:00
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=wire.mod -o=$(GOBIN)/wire-v0.5.0 "github.com/google/wire/cmd/wire"
|
2021-08-25 08:11:22 -05:00
|
|
|
|