add justfile for automation
This commit is contained in:
parent
bd95bf871e
commit
3999155e30
17
justfile
Normal file
17
justfile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
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
|
Loading…
Reference in a new issue