mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
When building a zip of the game, don't include /tmp
This commit is contained in:
parent
806c39069b
commit
64713ef466
1 changed files with 3 additions and 3 deletions
6
Makefile
6
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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue