mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-21 17:40:45 -06:00
feat: improve debug output
This commit is contained in:
parent
4a2a77adca
commit
b4e0b0d74c
1 changed files with 4 additions and 2 deletions
|
@ -15,8 +15,10 @@ create_string = $(subst $(\n),\n,$(call escape_shellstring,$(call escape_printf,
|
|||
|
||||
ifdef DEBUG
|
||||
define py
|
||||
@printf "Python Script:"
|
||||
@printf "$(call create_string,$($(1)))"
|
||||
@printf "Python Script:\n"
|
||||
@printf -- "----------------\n"
|
||||
@printf "$(call create_string,$($(1)))\n"
|
||||
@printf -- "----------------\n"
|
||||
@printf "$(call create_string,$($(1)))" | python3
|
||||
endef
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue