2020-01-26 18:04:04 +01:00
|
|
|
src_dir := "$PWD/game"
|
|
|
|
build_dir := "$PWD/build"
|
|
|
|
itchio := "damantisshrimp/taqin"
|
|
|
|
|
|
|
|
edit:
|
|
|
|
godot --path {{src_dir}} --editor
|
|
|
|
|
2020-02-14 13:31:14 +01:00
|
|
|
test:
|
|
|
|
godot --path {{src_dir}} --debug --script {{src_dir}}/addons/gut/gut_cmdln.gd
|
|
|
|
|
2020-01-26 18:04:04 +01:00
|
|
|
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
|