瀏覽代碼

make download_dependencies.sh also build vcmibuilder

stopiccot 11 年之前
父節點
當前提交
667cc3b067
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      osx/download_dependencies.sh

+ 6 - 0
osx/download_dependencies.sh

@@ -2,7 +2,13 @@ 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 ../
+
+	# 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