src_dir := "$PWD"
build_dir := "$PWD/build"
itchio := "damantisshrimp/taqin"

edit:
	godot --path {{src_dir}} --editor

test:
    godot --path {{src_dir}} --debug --script {{src_dir}}/addons/gut/gut_cmdln.gd

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