broken_seals_2d/build_osx.sh

17 lines
558 B
Bash
Executable File

# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
export SCONS_CACHE=~/.scons_cache
export SCONS_CACHE_LIMIT=5000
cd ./engine
scons -j6 platform=osx target=release_debug entities_2d=yes
rm -Rf bin/Godot.app
cp -r misc/dist/osx_tools.app ./bin/Godot.app
mkdir -p ./bin/Godot.app/Contents/MacOS
cp bin/godot.osx.opt.tools.64 bin/Godot.app/Contents/MacOS/Godot
chmod +x bin/Godot.app/Contents/MacOS/Godot
cd ..