From 83fdfa8af85ea761881d136234adb64b7d8ce379 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 5 Sep 2022 18:44:51 -0500 Subject: [PATCH] update task.mk config --- .gitignore | 3 +-- Makefile | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b0e8e8b..eb5da14 100644 --- a/.gitignore +++ b/.gitignore @@ -158,5 +158,4 @@ cython_debug/ # End of https://www.toptal.com/developers/gitignore/api/python -# pdm -__pypackages__ +.task.mk diff --git a/Makefile b/Makefile index 785a1e4..a003ade 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,6 @@ dr-keep: # fill,name[1],help[1];} match($$0,/^### (.*)/,str) \ # {printf "%*s \033[30m%s\033[0m\n",fill," ",str[1];}' $< GOAL_COLOR=b_magenta -HELP_SEP= >> +HELP_SEP= ->> -include .task.mk -ifeq "help" "$(filter help,$(MAKECMDGOALS))" -.task.mk: - curl https://raw.githubusercontent.com/daylinmorgan/task.mk/main/task.mk -o .task.mk -endif +$(if $(filter help,$(MAKECMDGOALS)),.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v22.9.5/task.mk -o .task.mk)