wip, nicer

This commit is contained in:
voidlizard 2024-10-17 14:53:02 +03:00
parent c7fc9a1c1e
commit 15be1cc0b4
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,10 @@ rt: $(OUT_FILES)
> @hbs2-cli \
[define r [eq? [parse:top:file root $(dir $<)$(notdir $@)] \
[parse:top:file root $(dir $<)$(basename $(notdir $@)).baseline]]] \
and [print '"[RT]"' space [if r [ansi green OK] [ansi red FAIL]] : space $(notdir $(basename $@))] \
and [print '"[RT]"' space \
[if r [ansi green _ [concat ✅ OK space space]] \
[ansi red~ _ [concat ❌FAIL]]] \
: space $(notdir $(basename $@))] \
and println
> $(RM) $(dir $<)$(notdir $@)