mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
improve release builder
This commit is contained in:
parent
f1287080ae
commit
b546784546
2 changed files with 14 additions and 3 deletions
|
@ -1001,6 +1001,7 @@
|
|||
[fFileOutline setHoverRowForEvent: [[[fTabView selectedTabViewItem] identifier] isEqualToString: TAB_FILES_IDENT]
|
||||
? event : nil];
|
||||
}
|
||||
|
||||
- (NSArray *) peerSortDescriptors
|
||||
{
|
||||
NSMutableArray * descriptors = [NSMutableArray array];
|
||||
|
|
|
@ -6,10 +6,20 @@ echo CLEANING TRANSMISSION
|
|||
xcodebuild -project Transmission.xcodeproj clean
|
||||
echo BUILDING TRANSMISSION
|
||||
xcodebuild -project Transmission.xcodeproj -target Transmission -configuration Release
|
||||
rm -rf 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
|
||||
mkdir release
|
||||
mkdir release/Transmission
|
||||
rm -rf release
|
||||
mkdir -p release/Transmission
|
||||
echo COPYING TRANSMISSION.APP
|
||||
cp -R macosx/Transmission.app ./release/Transmission/
|
||||
echo CREATING DMG
|
||||
|
|
Loading…
Reference in a new issue