source: trunk/macosx/release_builder.sh @ 3053

Last change on this file since 3053 was 3053, checked in by livings124, 15 years ago

improve release builder

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#Transmission OS X Release Builder (Universal)
2#/bin/sh
3cd ../
4echo STARTING OS X RELEASE BUILDER
5echo CLEANING TRANSMISSION
6xcodebuild -project Transmission.xcodeproj clean
7echo BUILDING TRANSMISSION
8xcodebuild -project Transmission.xcodeproj -target Transmission -configuration Release
9echo DELETING INTERFACE BUILDER DATA
10rm -f macosx/Transmission.app/Contents/Resources/*.nib/info.nib
11rm -f macosx/Transmission.app/Contents/Resources/*.nib/classes.nib
12rm -f macosx/Transmission.app/Contents/Resources/*.lproj/*.nib/info.nib
13rm -f macosx/Transmission.app/Contents/Resources/*.lproj/*.nib/classes.nib
14rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.nib/info.nib
15rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.nib/classes.nib
16rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.lproj/*.nib/info.nib
17rm -f macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Resources/*.lproj/*.nib/classes.nib
18echo DELETING FRAMEWORK HEADERS
19rm -rf macosx/Transmission.app/Contents/Frameworks/*.framework/Versions/[A-Z]/Headers/*
20echo CREATING RELEASE DIR
21rm -rf release
22mkdir -p release/Transmission
23echo COPYING TRANSMISSION.APP
24cp -R macosx/Transmission.app ./release/Transmission/
25echo CREATING DMG
26#create a BZ2 Compressed DMG
27hdiutil create -srcfolder release/Transmission/ -format UDBZ -noanyowners -fs HFS+ release/Transmission.dmg
28echo MAKING THE DMG INTERNET-ENABLED
29hdiutil internet-enable -yes release/Transmission.dmg
30cd macosx
31echo Release Build Complete!
Note: See TracBrowser for help on using the repository browser.