feat: improve debug output

This commit is contained in:
Daylin Morgan 2022-09-05 14:42:28 -05:00
parent 4a2a77adca
commit b4e0b0d74c

View file

@ -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