You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
594 B

TIC := "tic80 --skip --fs ."
CART := "chi-tor.wren"
run:
{{TIC}} {{CART}}
export-tic:
mkdir --parents build
{{TIC}} --cmd "load {{CART}} & save build/chi-tor.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 export-tic
deploy-html: export-html
butler push build/{{CART}}.zip damantisshrimp/chi-tor:html
webpage:
xdg-open "https://damantisshrimp.itch.io/chi-tor"