18 lines
430 B
Makefile
18 lines
430 B
Makefile
|
src_dir := "$PWD/game"
|
||
|
build_dir := "$PWD/build"
|
||
|
itchio := "damantisshrimp/taqin"
|
||
|
|
||
|
edit:
|
||
|
godot --path {{src_dir}} --editor
|
||
|
|
||
|
export-android:
|
||
|
mkdir -p {{build_dir}}/android
|
||
|
godot --path {{src_dir}} --export "Android" {{build_dir}}/android
|
||
|
|
||
|
export-html:
|
||
|
mkdir -p {{build_dir}}/html
|
||
|
godot --path {{src_dir}} --export "HTML5" {{build_dir}}/html/index.html
|
||
|
|
||
|
deploy-html: export-html
|
||
|
butler push {{build_dir}}/html {{itchio}}:html
|