Skip to content

Commit

Permalink
chore: update deps (#71)
Browse files Browse the repository at this point in the history
Signed-off-by: tkrop <[email protected]>
  • Loading branch information
tkrop committed Jan 18, 2024
1 parent 5dec65d commit 5be21e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ else
$(warning warning: please customize variables in Makefile.vars)
endif

GOBIN ?= $(shell go env GOPATH)/bin
GOMAKE ?= github.com/tkrop/[email protected]
ifndef GOSETUP
export GOBIN ?= $(shell $(GO) env GOPATH)/bin
else ifeq ($(GOSETUP),local)
export GOBIN := $(DIR_BUILD)/bin
export PATH := $(GOBIN):$(PATH)
else
$(error error: unsupported go setup ($(GOSETUP)))
endif
GOMAKE_DEP ?= github.com/tkrop/[email protected]
TARGETS := $(shell command -v $(GOBIN)/go-make >/dev/null || \
go install $(GOMAKE) >/dev/stderr && $(GOBIN)/go-make targets)
go install $(GOMAKE_DEP) >/dev/stderr && $(GOBIN)/go-make targets)

# Declare all targets phony to make them available for auto-completion.
.PHONY:: $(TARGETS)
Expand Down
24 changes: 0 additions & 24 deletions Makefile.defs

This file was deleted.

0 comments on commit 5be21e7

Please sign in to comment.