From d7f5b1463bb13ea84f9be1b1083bf31b48c9b076 Mon Sep 17 00:00:00 2001 From: tkrop Date: Fri, 22 Dec 2023 13:49:26 +0100 Subject: [PATCH] feat: update deps (#65) Signed-off-by: tkrop --- Makefile | 6 +++--- VERSION | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ae6a899..54ca599 100644 --- a/Makefile +++ b/Makefile @@ -8,14 +8,14 @@ else endif GOBIN ?= $(shell go env GOPATH)/bin -GOMAKE ?= github.com/tkrop/go-make@v0.0.12 +GOMAKE ?= github.com/tkrop/go-make@v0.0.13 TARGETS := $(shell command -v go-make >/dev/null || \ go install $(GOMAKE) && go-make targets) # Declare all targets phony to make them available for auto-completion. .PHONY: $(TARGETS) -# Delegate all targets to go-make in one call. -# TODO: consider solution that does not delegate local goals. +# Delegate all targets to go-make in a single call suppressing other targets. +$(eval $(wordlist 1,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))::;@:) $(firstword $(MAKECMDGOALS) all):: $(GOBIN)/go-make $(MAKEFLAGS) $(MAKECMDGOALS); diff --git a/VERSION b/VERSION index bcab45a..81340c7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.3 +0.0.4