mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-02 00:10:22 +02:00
script to automate osx packaging
This commit is contained in:
parent
7356145c3a
commit
ae55532131
15
osx/package.sh
Normal file
15
osx/package.sh
Normal file
@ -0,0 +1,15 @@
|
||||
# Clean previous build
|
||||
rm -rf build
|
||||
rm -rf bin
|
||||
rm -rf osx/osx-vcmibuilder/build
|
||||
rm -rf osx/vcmibuilder.app
|
||||
|
||||
# Build vcmibuilder
|
||||
xcodebuild -project osx/osx-vcmibuilder/vcmibuilder.xcodeproj/ -configuration Release
|
||||
mv osx/osx-vcmibuilder/build/Release/vcmibuilder.app osx/vcmibuilder.app
|
||||
|
||||
# Build vcmi
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G Xcode .. -DENABLE_LAUNCHER=OFF
|
||||
xcodebuild -project vcmi.xcodeproj/ -configuration Release -target package
|
Loading…
Reference in New Issue
Block a user