mirror of https://github.com/voidlizard/hbs2
wip, nicer
This commit is contained in:
parent
c7fc9a1c1e
commit
15be1cc0b4
5
Makefile
5
Makefile
|
@ -42,7 +42,10 @@ rt: $(OUT_FILES)
|
||||||
> @hbs2-cli \
|
> @hbs2-cli \
|
||||||
[define r [eq? [parse:top:file root $(dir $<)$(notdir $@)] \
|
[define r [eq? [parse:top:file root $(dir $<)$(notdir $@)] \
|
||||||
[parse:top:file root $(dir $<)$(basename $(notdir $@)).baseline]]] \
|
[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
|
and println
|
||||||
|
|
||||||
> $(RM) $(dir $<)$(notdir $@)
|
> $(RM) $(dir $<)$(notdir $@)
|
||||||
|
|
Loading…
Reference in New Issue