1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00
transmission/macosx/release_builder.sh
2008-11-01 17:08:49 +00:00

20 lines
No EOL
734 B
Bash
Executable file

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