1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-10 09:50:17 +02:00
vcmi/osx/download_dependencies.sh

15 lines
507 B
Bash

if [ -f ../.osx_dependencies_installed ];
then
echo "OS X prebuilt dependencies are already installled"
else
# Download and unpack OS X prebuilt dependencies
curl -o ../xcode-pack.zip -L http://download.vcmi.eu/xcode-pack.zip
unzip ../xcode-pack.zip -d ../
rm -rf ../__MACOSX
# Build vcmibuilder
xcodebuild -project osx/osx-vcmibuilder/vcmibuilder.xcodeproj/ -configuration Release
mv osx/osx-vcmibuilder/build/Release/vcmibuilder.app osx/vcmibuilder.app
touch ../.osx_dependencies_installed
fi