rename project to Chi-Tor

Also, add deploy to itch.io
This commit is contained in:
Fabien Freling 2021-08-12 15:04:04 +02:00
parent 7e29fbe5e0
commit b4325839a4
2 changed files with 17 additions and 3 deletions

View file

@ -1,4 +1,4 @@
// title: game title
// title: Chi-Tor
// author: Fabien Freling
// desc: (Major Jam 8)
// script: wren

View file

@ -1,9 +1,23 @@
TIC := "tic80 --skip --fs ."
CART := "cart.wren"
CART := "chi-tor.wren"
run:
{{TIC}} {{CART}}
export:
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