From 64713ef4668395c62364d05f6a3aa8177a3ee895 Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Thu, 24 Sep 2020 11:09:51 +0200 Subject: [PATCH] When building a zip of the game, don't include /tmp --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index efcbf10..8736d38 100644 --- a/Makefile +++ b/Makefile @@ -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: