Basic action

Opened permissions

Move setup to Dockerfile

Update

Update

Update

Update

Update

Update

Update

Update
This commit is contained in:
2019-11-29 15:53:20 -05:00
parent a724baac16
commit 4f2170064d
3 changed files with 47 additions and 0 deletions

22
entrypoint.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/sh
set -e
wget https://downloads.tuxfamily.org/godotengine/3.1.1/Godot_v3.1.1-stable_export_templates.tpz --quiet
mkdir ~/.cache
mkdir -p ~/.config/godot
mkdir -p ~/.local/share/godot/templates/3.1.1.stable
unzip Godot_v3.1.1-stable_export_templates.tpz
mv templates/* ~/.local/share/godot/templates/3.1.1.stable
rm -f Godot_v3.1.1-stable_export_templates.tpz
# Export for Linux
mkdir -p ./build/linux
godot --export Linux/X11 ./build/linux/${PROJECT}
# Export for Windows
mkdir -p ./build/windows
godot --export "Windows Desktop" ./build/windows/${PROJECT}.exe
# Export for OSX
mkdir -p ./builds/mac
godot --export "Mac OSX" ./build/mac/${PROJECT}