1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/osx/download_dependencies.sh

15 lines
507 B
Bash
Raw Normal View History

if [ -f ../.osx_dependencies_installed ];
then
echo "OS X prebuilt dependencies are already installled"
else
# Download and unpack OS X prebuilt dependencies
2014-05-02 16:04:12 +03:00
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