Skip to content

Commit

Permalink
chore: update deps (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: tkrop <[email protected]>
  • Loading branch information
tkrop committed Jan 13, 2024
1 parent 13f6e21 commit bcfb363
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ else
endif

GOBIN ?= $(shell go env GOPATH)/bin
GOMAKE ?= github.com/tkrop/[email protected].32
GOMAKE ?= github.com/tkrop/[email protected].35
TARGETS := $(shell command -v $(GOBIN)/go-make >/dev/null || \
go install $(GOMAKE) >/dev/stderr && $(GOBIN)/go-make targets)

# Declare all targets phony to make them available for auto-completion.
.PHONY:: $(TARGETS)

# Delegate all targets to go-make in a single call suppressing other targets.
# Delegate all targets to go-make in a single call stubbing other targets.
$(eval $(wordlist 1,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))::;@:)
$(firstword $(MAKECMDGOALS) all)::
@$(GOBIN)/go-make $(strip $(MAKEFLAGS) $(MAKECMDGOALS));
@$(GOBIN)/go-make $(MAKECMDGOALS);

0 comments on commit bcfb363

Please sign in to comment.