24 lines
505 B
Makefile
24 lines
505 B
Makefile
# vim: set ft=make :
|
|
|
|
src_dir := "$PWD"
|
|
build_dir := "$PWD/build"
|
|
itchio := "damantisshrimp/taqin"
|
|
apk := build_dir + "/android/Taqin.apk"
|
|
|
|
edit:
|
|
godot --editor --quiet &
|
|
|
|
export-android:
|
|
mkdir -p {{build_dir}}/android
|
|
godot --quit --export "Android" {{apk}}
|
|
|
|
deploy-android: export-android
|
|
butler push {{apk}} {{itchio}}:android
|
|
|
|
export-html:
|
|
mkdir -p {{build_dir}}/html
|
|
godot --export "HTML5" {{build_dir}}/html/index.html
|
|
|
|
deploy-html: export-html
|
|
butler push {{build_dir}}/html {{itchio}}:html
|