1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-04 05:56:02 +00:00
transmission/macosx/scripts/release_builder.sh

20 lines
698 B
Bash
Raw Normal View History

2007-09-16 01:02:06 +00:00
#Transmission OS X Release Builder (Universal)
#/bin/sh
2009-02-03 00:46:22 +00:00
cd ../../
2007-09-16 01:02:06 +00:00
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
2009-02-03 00:46:22 +00:00
mkdir -p release
2007-09-16 01:02:06 +00:00
echo COPYING TRANSMISSION.APP
2009-02-03 00:46:22 +00:00
cp -R build/Release/Transmission.app ./release/
2007-09-16 01:02:06 +00:00
echo CREATING DMG
#create a BZ2 Compressed DMG
2009-02-03 00:46:22 +00:00
hdiutil create -srcfolder release/ -format UDBZ -noanyowners -fs HFS+ release/Transmission.dmg
2007-09-16 01:02:06 +00:00
echo MAKING THE DMG INTERNET-ENABLED
hdiutil internet-enable -yes release/Transmission.dmg
cd macosx
echo Release Build Complete!