|
|
@ -1,13 +1,8 @@ |
|
|
|
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.8. DO NOT EDIT.
|
|
|
|
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9. DO NOT EDIT.
|
|
|
|
# All tools are designed to be build inside $GOBIN.
|
|
|
|
# All tools are designed to be build inside $GOBIN.
|
|
|
|
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
|
|
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
|
|
GOPATH ?= $(shell go env GOPATH)
|
|
|
|
GOPATH ?= $(shell go env GOPATH)
|
|
|
|
ifeq ($(OS),Windows_NT) |
|
|
|
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
|
|
|
|
PATHSEP := $(if $(COMSPEC),;,:)
|
|
|
|
|
|
|
|
GOBIN ?= $(firstword $(subst $(PATHSEP), ,$(subst \,/,${GOPATH})))/bin
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
GO ?= $(shell which go)
|
|
|
|
GO ?= $(shell which go)
|
|
|
|
|
|
|
|
|
|
|
|
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
|
|
|
|
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
|
|
|
@ -64,9 +59,9 @@ $(SWAGGER): $(BINGO_DIR)/swagger.mod |
|
|
|
@echo "(re)installing $(GOBIN)/swagger-v0.30.2"
|
|
|
|
@echo "(re)installing $(GOBIN)/swagger-v0.30.2"
|
|
|
|
@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"
|
|
|
|
@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"
|
|
|
|
|
|
|
|
|
|
|
|
WIRE := $(GOBIN)/wire-v0.5.0
|
|
|
|
WIRE := $(GOBIN)/wire-v0.6.0
|
|
|
|
$(WIRE): $(BINGO_DIR)/wire.mod |
|
|
|
$(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.
|
|
|
|
@# 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"
|
|
|
|
@echo "(re)installing $(GOBIN)/wire-v0.6.0"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=wire.mod -o=$(GOBIN)/wire-v0.5.0 "github.com/google/wire/cmd/wire"
|
|
|
|
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=wire.mod -o=$(GOBIN)/wire-v0.6.0 "github.com/google/wire/cmd/wire"
|
|
|
|
|
|
|
|
|
|
|
|