taqin/justfile

24 lines
505 B
Makefile
Raw Normal View History

2020-04-13 17:54:22 +02:00
# vim: set ft=make :
2020-02-19 13:29:15 +01:00
src_dir := "$PWD"
2020-01-26 18:04:04 +01:00
build_dir := "$PWD/build"
itchio := "damantisshrimp/taqin"
2020-06-19 19:09:49 +02:00
apk := build_dir + "/android/Taqin.apk"
2020-01-26 18:04:04 +01:00
edit:
2020-02-20 13:22:26 +01:00
godot --editor --quiet &
2020-01-26 18:04:04 +01:00
export-android:
mkdir -p {{build_dir}}/android
2020-06-19 19:09:49 +02:00
godot --quit --export "Android" {{apk}}
deploy-android: export-android
butler push {{apk}} {{itchio}}:android
2020-01-26 18:04:04 +01:00
export-html:
mkdir -p {{build_dir}}/html
2020-02-20 13:22:26 +01:00
godot --export "HTML5" {{build_dir}}/html/index.html
2020-01-26 18:04:04 +01:00
deploy-html: export-html
butler push {{build_dir}}/html {{itchio}}:html