mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
Export using zip *
instead of zip .
Apparently, with . zip tries to include files from the parent directory?
This commit is contained in:
parent
7b12cc1467
commit
55d5dfea9e
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -5,7 +5,7 @@ all: linux macos windows
|
|||
linux:
|
||||
mkdir -p build/$(name)-linux
|
||||
godot --export "Linux" "build/$(name)-linux/$(name)"
|
||||
cd build/$(name)-linux && zip -r ../$(name)-linux.zip .
|
||||
cd build/$(name)-linux && zip -r ../$(name)-linux.zip *
|
||||
|
||||
macos:
|
||||
mkdir -p build
|
||||
|
@ -13,9 +13,10 @@ macos:
|
|||
|
||||
windows: dependencies/windows/git/
|
||||
mkdir -p build/$(name)-windows
|
||||
godot --export "Windows" "build/$(name)-windows/$(name).exe"
|
||||
# We're using the debug template here so that the bash.exe doesn't spawn a cmd.exe each time...
|
||||
godot --export-debug "Windows" "build/$(name)-windows/$(name).exe"
|
||||
cp -r --parents dependencies/windows/git/ build/$(name)-windows/
|
||||
cd build/$(name)-windows && zip -r ../$(name)-windows.zip .
|
||||
cd build/$(name)-windows && zip -r ../$(name)-windows.zip *
|
||||
|
||||
clean-unzipped:
|
||||
cd build && ls | grep -v '\.zip$$' | xargs rm -r
|
||||
|
|
Loading…
Reference in a new issue