mirror of
https://gitlab.com/mattia.basaglia/ASCII-Pony.git
synced 2024-11-22 04:07:59 +01:00
Fix twilight eye + Makefile hax
This commit is contained in:
parent
e70ee19ebc
commit
cfc5affece
10 changed files with 48 additions and 48 deletions
|
@ -4,7 +4,7 @@
|
|||
[35;22m( [35;22m/ [35;22m\[35;22m_ [35;22m`[35;22m.[35;22m' [35;22m/ [34;22m`[34;22m.
|
||||
[35;22m| [35;22m| [34;22m) [34;22m`[34;22m;[34;22m. [35;22m,[35;22m' [35;22m/ [35;22m\ [34;22m\
|
||||
[35;22m( [35;22m'[35;22m. [34;22m/[34;22m_[34;22m_[34;22m_[34;22m/[37;22m_[34;22mj[34;22m_ [35;22m/ [35;22m) [35;22m| [34;22m)
|
||||
[34;22m'[35;22m\ [37;22m/ [35;22m_[35;22m_[37;22m\ [34;22m`[34;22m`[34;22m:[34;22m:[34;22m'[35;22m/[35;22m_[35;22m_[35;22m' [34;22m|
|
||||
[34;22m'[35;22m\ [37;22m/ [35;22m_[35;22m_[37;22m\[34;22m`[34;22m`[34;22m:[34;22m:[34;22m'[35;22m/[35;22m_[35;22m_[35;22m' [34;22m|
|
||||
[34;22m|[35;22m\[35;22m_ [37;22m( [35;22m/ [30;1m.[30;1m-[37;22m| [37;22m|[35;22m-[35;22m.[37;22m| [35;22m`[34;22m-[34;22m,[34;22m|
|
||||
[34;22m.[34;22m| [34;22m( [37;22m\ [35;22m( [30;1m([30;1mW[30;1mW[37;22m| [37;22m\[30;1mW[35;22m)[37;22mj [34;22m'
|
||||
[34;22m.[34;22m.[34;22m-[34;22m-[34;22m-[34;22m-[34;22m-[34;22m, [35;22m.[34;22m|[34;22m' [34;22m'[34;22m, [37;22m\[37;22m_[35;22m\[37;22m_[30;1m`[37;22m_[37;22m| [35;22m`[35;22m`[35;22m-[35;22m.
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
[35;22m( [35;22m/ [35;22m\[35;22m_ [35;22m`[35;22m.[35;22m' [35;22m/ [34;22m`[34;22m.
|
||||
[35;22m| [35;22m| [34;22m) [34;22m`[34;22m;[34;22m. [35;22m,[35;22m' [35;22m/ [35;22m\ [34;22m\
|
||||
[35;22m( [35;22m'[35;22m. [34;22m/[34;22m_[34;22m_[34;22m_[34;22m/[37;22m_[34;22mj[34;22m_ [35;22m/ [35;22m) [35;22m| [34;22m)
|
||||
[34;22m'[35;22m\ [37;22m/ [35;22m_[35;22m_[37;22m\ [34;22m`[34;22m`[34;22m:[34;22m:[34;22m'[35;22m/[35;22m_[35;22m_[35;22m' [34;22m|
|
||||
[34;22m'[35;22m\ [37;22m/ [35;22m_[35;22m_[37;22m\[34;22m`[34;22m`[34;22m:[34;22m:[34;22m'[35;22m/[35;22m_[35;22m_[35;22m' [34;22m|
|
||||
[34;22m|[35;22m\[35;22m_ [37;22m( [35;22m/ [30;1m.[30;1m-[37;22m| [37;22m|[35;22m-[35;22m.[37;22m| [35;22m`[34;22m-[34;22m,[34;22m|
|
||||
[34;22m.[34;22m| [34;22m( [37;22m\ [35;22m( [30;1m([30;1mW[30;1mW[37;22m| [37;22m\[30;1mW[35;22m)[37;22mj [34;22m'
|
||||
[34;22m.[34;22m| [34;22m( [37;22m\ [35;22m( [30;1m([30;1mW[30;1mW[37;22m| [37;22m\[35;22m) [37;22mj [34;22m'
|
||||
[34;22m.[34;22m.[34;22m-[34;22m-[34;22m-[34;22m-[34;22m-[34;22m, [35;22m.[34;22m|[34;22m' [34;22m'[34;22m, [37;22m\[37;22m_[35;22m\[37;22m_[30;1m`[37;22m_[37;22m| [35;22m`[35;22m`[35;22m-[35;22m.
|
||||
[34;22m.[34;22m-[34;22m` [35;22m.[35;22m.[35;22m:[35;22m:[35;22m. [34;22m`[34;22m, [35;22m|[35;22m, [34;22m.[34;22m_[34;22m:[34;22m7 [35;22m\[35;22m_[35;22m_[35;22m/
|
||||
[34;22m,[34;22m' [35;22m.[35;22m:[35;22m:[35;22m:[35;22m'[35;22m'[35;22m:[35;22m:[35;22m:[35;22m. [34;22m\ [34;22m|[35;22m:[35;22m'[35;22m. [34;22m\ [35;22m_[35;22m_[35;22m_[35;22m_[35;22m_[35;22m_[35;22m.[35;22m-[35;22m'
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
|
||||
xfffxxxxx c
|
||||
__ _____ _
|
||||
/ \__..--"" ;-.",'/
|
||||
( / \_ `.' / `.
|
||||
| | ) `;. ,' / \ \
|
||||
( '. /___/_j_ / ) | )
|
||||
'\ / __\ ``::'/__' |
|
||||
|\_ ( / .-| |-.| `-,|
|
||||
.| ( \ ( (WW| \W)j '
|
||||
..-----, .|' ', \_\_`_| ``-.
|
||||
'\ / __ \``::'/__' |
|
||||
|\_ ( / .- | |-.| `-,|
|
||||
.| ( \ ((WW | \W)j '
|
||||
..-----, .|' ', \_ _ _| ``-.
|
||||
.-` ..::. `, |, ._:7 \__/
|
||||
,' .:::'':::. \ |:'. \ ______.-'
|
||||
.' .::' ':: :._______| \ \ `"7 /
|
||||
|
|
22
Makefile
22
Makefile
|
@ -13,22 +13,22 @@ PONIES= Main6/applejack-nohat \
|
|||
SCRIPT=$(PWD)/render_parts.php
|
||||
OUT_PLAIN=$(addsuffix .plain.txt,$(PONIES))
|
||||
OUT_COLOR=$(addsuffix .colored.txt,$(PONIES))
|
||||
find_deps=$(subst ;,\;,$(wildcard $(1)/*))
|
||||
|
||||
.PHONY: show
|
||||
find_deps=$(subst ;,\\\;,$(wildcard $(1)/*))
|
||||
|
||||
all: $(OUT_COLOR) $(OUT_PLAIN)
|
||||
|
||||
define rule_template
|
||||
$(1).colored.txt: $(call find_deps, $(1))
|
||||
$(SCRIPT) $(1) >$(1).colored.txt
|
||||
|
||||
# %.colored.txt : $(SCRIPT)
|
||||
# %.colored.txt : $(PWD)/Makefile
|
||||
%.colored.txt : $(call find_deps, $*)
|
||||
$(SCRIPT) $* >$*.colored.txt
|
||||
$(1).plain.txt: $(call find_deps, $(1))
|
||||
$(SCRIPT) $(1) >$(1).plain.txt nocolor
|
||||
endef
|
||||
|
||||
# %.plain.txt : $(SCRIPT)
|
||||
# %.plain.txt : $(PWD)/Makefile
|
||||
%.plain.txt : $(call find_deps, $*)
|
||||
$(SCRIPT) $* >$*.plain.txt nocolor
|
||||
$(foreach pony,$(PONIES),$(eval $(call rule_template,$(pony))))
|
||||
|
||||
show: $(PONY).colored.txt
|
||||
@cat $(PONY).colored.txt
|
||||
|
||||
show_deps:
|
||||
@$(foreach d,$(call find_deps,$(PONY)), echo $(d);)
|
Loading…
Reference in a new issue