소스 검색

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