2024-04-24 13:26:14 -05:00
|
|
|
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9. 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)
|
2024-02-23 11:48:26 -06:00
|
|
|
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
|
2021-08-25 08:11:22 -05:00
|
|
|
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
|
|
|
|
2023-04-14 09:45:54 -05:00
|
|
|
CUE := $(GOBIN)/cue-v0.5.0
|
2023-01-23 19:36:46 -06:00
|
|
|
$(CUE): $(BINGO_DIR)/cue.mod
|
|
|
|
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
2023-04-14 09:45:54 -05:00
|
|
|
@echo "(re)installing $(GOBIN)/cue-v0.5.0"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=cue.mod -o=$(GOBIN)/cue-v0.5.0 "cuelang.org/go/cmd/cue"
|
2023-01-23 19:36:46 -06: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"
|
2023-08-16 03:57:50 -05:00
|
|
|
@cd $(BINGO_DIR) && GOWORK=off CGO_ENABLED=0 $(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
|
|
|
|
2024-06-14 07:42:09 -05:00
|
|
|
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.59.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.
|
2024-06-14 07:42:09 -05:00
|
|
|
@echo "(re)installing $(GOBIN)/golangci-lint-v1.59.1"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.59.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
|
|
|
|
2023-08-17 04:56:52 -05:00
|
|
|
LEFTHOOK := $(GOBIN)/lefthook-v1.4.8
|
|
|
|
$(LEFTHOOK): $(BINGO_DIR)/lefthook.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)/lefthook-v1.4.8"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=lefthook.mod -o=$(GOBIN)/lefthook-v1.4.8 "github.com/evilmartians/lefthook"
|
|
|
|
|
2024-04-24 13:26:14 -05:00
|
|
|
# swagger 0.30.5 isn't compatibile with go 1.22 yet so pinning to a specific commit until there's a new release
|
|
|
|
# https://github.com/go-swagger/go-swagger/issues/3070
|
|
|
|
SWAGGER := $(GOBIN)/swagger-db51e79a0e37c572d8b59ae0c58bf2bbbbe53285
|
2022-09-14 09:47:19 -05:00
|
|
|
$(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.
|
2024-04-24 13:26:14 -05:00
|
|
|
@echo "(re)installing $(GOBIN)/swagger-db51e79a0e37c572d8b59ae0c58bf2bbbbe53285"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=swagger.mod -o=$(GOBIN)/swagger-db51e79a0e37c572d8b59ae0c58bf2bbbbe53285 "github.com/go-swagger/go-swagger/cmd/swagger"
|
2022-09-14 09:47:19 -05:00
|
|
|
|