deploy android builds

This commit is contained in:
Fabien Freling 2020-06-19 19:09:49 +02:00
parent d731de2195
commit 95c7976f14

View file

@ -3,13 +3,17 @@
src_dir := "$PWD" src_dir := "$PWD"
build_dir := "$PWD/build" build_dir := "$PWD/build"
itchio := "damantisshrimp/taqin" itchio := "damantisshrimp/taqin"
apk := build_dir + "/android/Taqin.apk"
edit: edit:
godot --editor --quiet & godot --editor --quiet &
export-android: export-android:
mkdir -p {{build_dir}}/android mkdir -p {{build_dir}}/android
godot --export "Android" {{build_dir}}/android godot --quit --export "Android" {{apk}}
deploy-android: export-android
butler push {{apk}} {{itchio}}:android
export-html: export-html:
mkdir -p {{build_dir}}/html mkdir -p {{build_dir}}/html