Changeset 3622

Show
Ignore:
Timestamp:
03/16/07 21:18:17 (1 year ago)
Author:
timothy
Message:

Strip the NIBs of classes.nib and info.nib to save over 1MB on download size. Also fixes the framework unarchive script.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Chat Core.xcodeproj/project.pbxproj

    r3621 r3622  
    502502                        runOnlyForDeploymentPostprocessing = 0; 
    503503                        shellPath = /bin/sh; 
    504                         shellScript = "cd $SRCROOT/Frameworks\nrm -rf $SRCROOT/*.framework\ntar xzf frameworks.tar.gz\n"; 
     504                        shellScript = "cd \"$SRCROOT/Frameworks\"\nrm -rf *.framework\ntar xzf frameworks.tar.gz\n"; 
    505505                        showEnvVarsInLog = 0; 
    506506                }; 
  • trunk/Colloquy.xcodeproj/project.pbxproj

    r3621 r3622  
    18901890                                1C7F300D085545E600D41FB0 /* Copy Spotlight Importer */, 
    18911891                                1C91DEAC06972EC0007C1638 /* Remove Headers */, 
     1892                                1CB5A8F10BAB7E3700C1BDE2 /* Strip Localizations */, 
    18921893                                1C2EDE8B0A3568EF0051E9C2 /* Update Build Number */, 
    18931894                        ); 
     
    23092310                        name = "Unarchive Frameworks"; 
    23102311                        outputPaths = ( 
     2312                                "$(SRCROOT)/Frameworks/libtransmission.a", 
    23112313                                "$(SRCROOT)/Frameworks/Sparkle.framework", 
    23122314                                "$(SRCROOT)/Frameworks/Growl.framework", 
     
    23182320                        runOnlyForDeploymentPostprocessing = 0; 
    23192321                        shellPath = /bin/sh; 
    2320                         shellScript = "cd $SRCROOT/Frameworks\nrm -rf $SRCROOT/*.framework\ntar xzf frameworks.tar.gz\nranlib $SRCROOT/Frameworks/*.a\n"; 
     2322                        shellScript = "cd \"$SRCROOT/Frameworks\"\nrm -rf *.{framework,a}\ntar xzf frameworks.tar.gz\nranlib *.a\n"; 
     2323                        showEnvVarsInLog = 0; 
     2324                }; 
     2325                1CB5A8F10BAB7E3700C1BDE2 /* Strip Localizations */ = { 
     2326                        isa = PBXShellScriptBuildPhase; 
     2327                        buildActionMask = 2147483647; 
     2328                        files = ( 
     2329                        ); 
     2330                        inputPaths = ( 
     2331                        ); 
     2332                        name = "Strip Localizations"; 
     2333                        outputPaths = ( 
     2334                        ); 
     2335                        runOnlyForDeploymentPostprocessing = 0; 
     2336                        shellPath = /bin/sh; 
     2337                        shellScript = "find \"$TARGET_BUILD_DIR/$WRAPPER_NAME\" \\( -name \"classes.nib\" -or -name \"info.nib\" \\) -delete\n"; 
    23212338                        showEnvVarsInLog = 0; 
    23222339                };