docs: remove unneccesary code from examples

This commit is contained in:
Daylin Morgan 2022-09-19 00:26:29 -05:00
parent 5f5e15adaa
commit e2057870c5
2 changed files with 0 additions and 15 deletions

View file

@ -1,7 +1,3 @@
msgfmt = {a.style('==>','bold')} {a.style('$(1)','b_magenta')} {a.style('<==','bold')}
msg = $(call tprint,$(call msgfmt ,$(1)))
## check | get user confirmation or exit ## check | get user confirmation or exit
.PHONY: check .PHONY: check
check: check:

View file

@ -1,6 +1,3 @@
msgfmt = {a.style('==>','bold')} {a.style('$(1)','b_magenta')} {a.style('<==','bold')}
msg = $(call tprint,$(call msgfmt ,$(1)))
### examples of task.mk features | args: --divider --align center --msg-style b_red ### examples of task.mk features | args: --divider --align center --msg-style b_red
define list_files_py define list_files_py
from pathlib import Path from pathlib import Path
@ -34,14 +31,6 @@ endef
embedded-bash: embedded-bash:
$(call tbash,bash_script,bash multiline is probably working) $(call tbash,bash_script,bash multiline is probably working)
define mlmsg
{a.b_yellow}
It can even be multiline!{a.end}
{a.style('and styles can be defined','red')}
as python {a.bold}f-string{a.end} literals
{a.end}
endef
define USAGE define USAGE
{a.$(HEADER_STYLE)}usage:{a.end} {a.$(HEADER_STYLE)}usage:{a.end}
make <recipe> make <recipe>