When building a zip of the game, don't include /tmp

This commit is contained in:
Sebastian Morr 2020-09-24 11:09:51 +02:00
parent 806c39069b
commit 64713ef466

View file

@ -5,7 +5,7 @@ all: linux macos windows web
linux:
mkdir -p /tmp/$(name)-linux
/usr/bin/godot --export "Linux" "/tmp/$(name)-linux/$(name)"
zip -r /tmp/$(name)-linux.zip /tmp/$(name)-linux
cd /tmp && zip -r $(name)-linux.zip $(name)-linux
macos:
/usr/bin/godot --export "Mac OS" "/tmp/$(name)-macos.app"
@ -15,12 +15,12 @@ windows: dependencies/windows/git/
mkdir -p /tmp/$(name)-windows
/usr/bin/godot --export "Windows" "/tmp/$(name)-windows/$(name).exe"
cp -r --parents dependencies/windows/git/ /tmp/$(name)-windows/
zip -r /tmp/$(name)-windows.zip /tmp/$(name)-windows
cd /tmp && zip -r $(name)-windows.zip $(name)-windows
web:
mkdir -p /tmp/$(name)-web
/usr/bin/godot --export "HTML5" "/tmp/$(name)-web/index.html"
zip -r /tmp/$(name)-web.zip /tmp/$(name)-web
cd /tmp && zip -r $(name)-web.zip $(name)-web
# Dependencies: