From b4325839a4401454d382ba5e8b6cfe01c5f4d0a0 Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Thu, 12 Aug 2021 15:04:04 +0200 Subject: [PATCH] rename project to Chi-Tor Also, add deploy to itch.io --- cart.wren => chi-tor.wren | 2 +- justfile | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) rename cart.wren => chi-tor.wren (99%) diff --git a/cart.wren b/chi-tor.wren similarity index 99% rename from cart.wren rename to chi-tor.wren index 1134228..560f991 100644 --- a/cart.wren +++ b/chi-tor.wren @@ -1,4 +1,4 @@ -// title: game title +// title: Chi-Tor // author: Fabien Freling // desc: (Major Jam 8) // script: wren diff --git a/justfile b/justfile index 6610f58..5ffd6ae 100644 --- a/justfile +++ b/justfile @@ -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