mirror of
https://github.com/transmission/transmission
synced 2024-12-27 10:07:40 +00:00
20 lines
No EOL
692 B
Bash
Executable file
20 lines
No EOL
692 B
Bash
Executable file
#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! |