mirror of
https://gitlab.com/mattia.basaglia/ASCII-Pony.git
synced 2024-11-21 19:57: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,10 +4,10 @@
|
|||
[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\[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.
|
||||
[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.
|
||||
[34;22m.[34;22m-[34;22m` [35;22m.[35;22m.[35;22m:[35;22m:[35;22m. [34;22m`[34;22m,[35;22m_[35;22m_[35;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.[35;22m|[35;22m.[35;22m`[35;22m.[35;22m`[35;22m-[35;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'
|
||||
[34;22m.[34;22m' [35;22m.[35;22m:[35;22m:[35;22m' [35;22m'[35;22m:[35;22m:[35;22m\[35;22m`[35;22m.[35;22m`[35;22m. [35;22m`[35;22m-[35;22m.[35;22m_[34;22m| [35;22m\ [35;22m\ [34;22m`[34;22m"[34;22m7 [35;22m/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
|
||||
.-
|
||||
(WW W
|
||||
`
|
||||
.-
|
||||
(WW W
|
||||
`
|
||||
|
|
@ -4,10 +4,10 @@
|
|||
( / \_ `.' /
|
||||
| | ,' / \
|
||||
( '. / ) |
|
||||
\ __ /__'
|
||||
\_ / -. `
|
||||
( )
|
||||
. \ ``-.
|
||||
\ __ /__'
|
||||
\_ / -. `
|
||||
( )
|
||||
. \ ``-.
|
||||
..::. ___ |, \__/
|
||||
.:::'':::.|.`.`-. :'. ______.-'
|
||||
.::' '::\`.`. `-._ \ \ /
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
|
||||
_
|
||||
/ \
|
||||
( | | |
|
||||
\ | \ j
|
||||
\_ _ _|
|
||||
/ \
|
||||
( | | |
|
||||
\ | \ j
|
||||
\_ _ _|
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
[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\[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.
|
||||
[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\[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'
|
||||
[34;22m.[34;22m' [35;22m.[35;22m:[35;22m:[35;22m' [35;22m'[35;22m:[35;22m: [35;22m:[35;22m.[35;22m_[35;22m_[35;22m_[35;22m_[35;22m_[35;22m_[35;22m_[34;22m| [35;22m\ [35;22m\ [34;22m`[34;22m"[34;22m7 [35;22m/
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
|
||||
xfffxxxxx c
|
||||
__ _____ _
|
||||
/ \__..--"" ;-.",'/
|
||||
( / \_ `.' / `.
|
||||
| | ) `;. ,' / \ \
|
||||
( '. /___/_j_ / ) | )
|
||||
'\ / __\ ``::'/__' |
|
||||
|\_ ( / .-| |-.| `-,|
|
||||
.| ( \ ( (WW| \W)j '
|
||||
..-----, .|' ', \_\_`_| ``-.
|
||||
'\ / __ \``::'/__' |
|
||||
|\_ ( / .- | |-.| `-,|
|
||||
.| ( \ ((WW | \W)j '
|
||||
..-----, .|' ', \_ _ _| ``-.
|
||||
.-` ..::. `, |, ._:7 \__/
|
||||
,' .:::'':::. \ |:'. \ ______.-'
|
||||
.' .::' ':: :._______| \ \ `"7 /
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
|
||||
.-
|
||||
(WW W
|
||||
`
|
||||
.-
|
||||
(WW W
|
||||
`
|
||||
|
|
@ -4,10 +4,10 @@
|
|||
( / \_ `.' /
|
||||
| | ,' / \
|
||||
( '. / ) |
|
||||
\ __ /__'
|
||||
\_ / -. `
|
||||
( )
|
||||
. \ ``-.
|
||||
\ __ /__'
|
||||
\_ / -. `
|
||||
( )
|
||||
. \ ``-.
|
||||
..::. |, \__/
|
||||
.:::'':::. :'. ______.-'
|
||||
.::' ':: :._______ \ \ /
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
_
|
||||
/ \
|
||||
( | | |
|
||||
\ | \ j
|
||||
\_ _ _|
|
||||
/ \
|
||||
( | | |
|
||||
\ | \ j
|
||||
\_ _ _|
|
||||
|
|
24
Makefile
24
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
|
||||
@cat $(PONY).colored.txt
|
||||
|
||||
show_deps:
|
||||
@$(foreach d,$(call find_deps,$(PONY)), echo $(d);)
|
Loading…
Reference in a new issue