chore: clean up Makefile

This commit is contained in:
Daylin Morgan 2022-09-19 00:20:48 -05:00
parent 98c70aff13
commit 9ee263b8b9

View file

@ -54,7 +54,6 @@ version-check:
$(call tprint-sh,{a.green}VERSION LOOKS GOOD!{a.end});\ $(call tprint-sh,{a.green}VERSION LOOKS GOOD!{a.end});\
fi fi
## info | demonstrate usage of tprint ## info | demonstrate usage of tprint
.PHONY: task .PHONY: task
info: info:
@ -63,18 +62,14 @@ info:
$(call tprint,$(mlmsg)) $(call tprint,$(mlmsg))
$(call tprint,{a.custom(fg=(148, 255, 15),bg=(103, 2, 15))}Custom Colors TOO!{a.end}) $(call tprint,{a.custom(fg=(148, 255, 15),bg=(103, 2, 15))}Custom Colors TOO!{a.end})
task.mk: $(TEMPLATES) generate.py task.mk: $(TEMPLATES) generate.py
./generate.py $(VERSION) > task.mk ./generate.py $(VERSION) > task.mk
define USAGE define USAGE
{a.$(HEADER_STYLE)}usage:{a.end} {a.$(HEADER_STYLE)}usage:{a.end}\n make <recipe>\n
make <recipe>
Turn your {a.style('`Makefile`','b_magenta')} into Turn your {a.style('`Makefile`','b_magenta')} into
the {a.italic}{a.underline}task runner{a.end} you always needed. the {a.italic}{a.underline}task runner{a.end} you always needed.
See the example output below. See the example output below.\n
endef endef
EPILOG = \nfor more info: gh.dayl.in/task.mk EPILOG = \nfor more info: gh.dayl.in/task.mk