build: let .task.cfg.mk do the work

This commit is contained in:
Daylin Morgan 2023-01-24 16:14:00 -06:00
parent e5954131fb
commit e9f9c7876e
2 changed files with 3 additions and 2 deletions

View file

@ -3,3 +3,5 @@ HELP_SEP = {a.b_green}->>{a.end}
USAGE = {a.italic}{a.b_cyan}Best Dots Around{a.end}\n
PHONIFY = 1
-include .task.mk
$(if $(wildcard .task.mk),,.task.mk: ; @curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/main/task.mk -o .task.mk 2>/dev/null || echo "no curl, skipping task.mk download")

View file

@ -33,5 +33,4 @@ dr-keep:
FORCE:
.DEFAULT_GOAL = help
-include .task.cfg.mk .task.mk
$(if $(wildcard .task.mk),,.task.mk: ; @curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/main/task.mk -o .task.mk 2>/dev/null || echo "no curl, skipping task.mk download")
-include .task.cfg.mk