mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
15 lines
507 B
Bash
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 |