1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00
transmission/macosx/release_builder.sh

31 lines
1.6 KiB
Bash
Raw Normal View History

2007-09-16 01:02:06 +00:00
#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 DELETING INTERFACE BUILDER DATA
rm -f macosx/Transmission.app/Contents/Resources/*.nib/info.nib
rm -f macosx/Transmission.app/Contents/Resources/*.nib/classes.nib
rm -f macosx/Transmission.app/Contents/Resources/*.lproj/*.nib/info.nib
rm -f macosx/Transmission.app/Contents/Resources/*.lproj/*.nib/classes.nib
rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.nib/info.nib
rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.nib/classes.nib
rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.lproj/*.nib/info.nib
rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.lproj/*.nib/classes.nib
echo DELETING FRAMEWORK HEADERS
rm -rf macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Headers/*
echo CREATING RELEASE DIR
rm -rf release
mkdir -p release/Transmission
echo COPYING TRANSMISSION.APP
2007-10-24 03:10:37 +00:00
cp -R build/Release/Transmission.app ./release/Transmission/
2007-09-16 01:02:06 +00:00
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!