download_dependencies.sh 487 B

1234567891011121314
  1. if [ -f ../.osx_dependencies_installed ];
  2. then
  3. echo "OS X prebuilt dependencies are already installled"
  4. else
  5. # Download and unpack OS X prebuilt dependencies
  6. curl -o ../xcode-pack.zip -L http://download.vcmi.eu/xcode-pack.zip
  7. unzip ../xcode-pack.zip -d ../
  8. # Build vcmibuilder
  9. xcodebuild -project osx/osx-vcmibuilder/vcmibuilder.xcodeproj/ -configuration Release
  10. mv osx/osx-vcmibuilder/build/Release/vcmibuilder.app osx/vcmibuilder.app
  11. touch ../.osx_dependencies_installed
  12. fi