b4325839a4
Also, add deploy to itch.io
24 lines
519 B
Makefile
24 lines
519 B
Makefile
TIC := "tic80 --skip --fs ."
|
|
CART := "chi-tor.wren"
|
|
|
|
run:
|
|
{{TIC}} {{CART}}
|
|
|
|
export-tic:
|
|
mkdir --parents build
|
|
{{TIC}} --cmd "load {{CART}} & save build/cart.tic & exit"
|
|
|
|
export-html:
|
|
mkdir --parents build
|
|
{{TIC}} --cmd "load {{CART}} & export html {{CART}} & exit"
|
|
mv {{CART}}.zip build
|
|
|
|
export-png:
|
|
mkdir --parents build
|
|
{{TIC}} --cmd "load {{CART}} & save build/chi-tor.png {{CART}} & exit"
|
|
|
|
export: export-html export-png
|
|
|
|
deploy-html: export-html
|
|
butler push build/{{CART}}.zip damantisshrimp/chi-tor:html
|