2021-08-09 11:28:04 +02:00
|
|
|
TIC := "tic80 --skip --fs ."
|
2021-08-12 15:04:04 +02:00
|
|
|
CART := "chi-tor.wren"
|
2021-08-09 11:28:04 +02:00
|
|
|
|
|
|
|
run:
|
|
|
|
{{TIC}} {{CART}}
|
|
|
|
|
2021-08-12 15:04:04 +02:00
|
|
|
export-tic:
|
2021-08-09 11:28:04 +02:00
|
|
|
mkdir --parents build
|
|
|
|
{{TIC}} --cmd "load {{CART}} & save build/cart.tic & exit"
|
2021-08-12 15:04:04 +02:00
|
|
|
|
|
|
|
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
|
2021-08-12 15:05:10 +02:00
|
|
|
|
|
|
|
webpage:
|
|
|
|
xdg-open "https://damantisshrimp.itch.io/chi-tor"
|