mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 01:50:44 -06:00
chore: clean up Makefile
This commit is contained in:
parent
98c70aff13
commit
9ee263b8b9
1 changed files with 2 additions and 7 deletions
9
Makefile
9
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue