1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-28 02:27:41 +00:00
transmission/macosx/scripts/beta_builder.sh

20 lines
692 B
Bash
Raw Normal View History

2009-02-03 00:46:22 +00:00
#Transmission OS X Beta Builder (Universal)
#/bin/sh
cd ../../
echo STARTING OS X BETA BUILDER
echo CLEANING TRANSMISSION
xcodebuild -project Transmission.xcodeproj clean
echo BUILDING TRANSMISSION
xcodebuild -project Transmission.xcodeproj -target Transmission -configuration Release\ -\ Debug
echo CREATING BETA DIR
rm -rf beta
mkdir -p beta
echo COPYING TRANSMISSION.APP
cp -R build/Release\ -\ Debug/Transmission.app ./beta/
echo CREATING DMG
#create a BZ2 Compressed DMG
hdiutil create -srcfolder beta/ -format UDBZ -noanyowners -fs HFS+ beta/Transmission-b.dmg
echo MAKING THE DMG INTERNET-ENABLED
hdiutil internet-enable -yes beta/Transmission-b.dmg
cd macosx
echo Beta Build Complete!