Add the build number, version number, and product name strings to Info.plist and...
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 18:32:37 +0000 (13:32 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 18:32:37 +0000 (13:32 -0500)
English.lproj/InfoPlist.strings
Info.plist
PrintDrop.xcodeproj/project.pbxproj

index cc2655a28bd02d6b4ed57c0faede6d71c70a2149..8e4f65e453a779c62851dddeff633ae57f371f61 100644 (file)
Binary files a/English.lproj/InfoPlist.strings and b/English.lproj/InfoPlist.strings differ
index b870c3acc6877180ed6047f3309f0655d34e3f99..a99cef88d0fe1fa26f4ab5a85d36c6cc8208e6fb 100644 (file)
@@ -9,7 +9,11 @@
        <key>CFBundleIconFile</key>
        <string></string>
        <key>CFBundleIdentifier</key>
-       <string>com.yourcompany.PrintDrop</string>
+       <string>org.bluestatic.buprintdrop</string>
+       <key>CFBundleGetInfoString</key>
+       <string>${EXECUTABLE_NAME} 1.0 Beta 1, Copyright 2008 Blue Static</string>
+       <key>CFBundleShortVersionString</key>
+       <string>1.0 Beta 1</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleName</key>
index 132b12d17f90452601a15723effae6befd4490e9..6d94cc323430c3440163927a3bc4ae2acd3345be 100644 (file)
@@ -82,7 +82,7 @@
                29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
                32CA4F630368D1EE00C91783 /* PrintDrop_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PrintDrop_Prefix.pch; sourceTree = "<group>"; };
                8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-               8D1107320486CEB800E47090 /* PrintDrop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PrintDrop.app; sourceTree = BUILT_PRODUCTS_DIR; };
+               8D1107320486CEB800E47090 /* BU Print Drop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "BU Print Drop.app"; sourceTree = BUILT_PRODUCTS_DIR; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
                19C28FACFE9D520D11CA2CBB /* Products */ = {
                        isa = PBXGroup;
                        children = (
-                               8D1107320486CEB800E47090 /* PrintDrop.app */,
+                               8D1107320486CEB800E47090 /* BU Print Drop.app */,
                                1EE1E4500D748AC9002999AD /* liblibssh2.a */,
                        );
                        name = Products;
                                8D1107290486CEB800E47090 /* Resources */,
                                8D11072C0486CEB800E47090 /* Sources */,
                                8D11072E0486CEB800E47090 /* Frameworks */,
+                               1EE1E4B00D749106002999AD /* ShellScript */,
                        );
                        buildRules = (
                        );
                        name = PrintDrop;
                        productInstallPath = "$(HOME)/Applications";
                        productName = PrintDrop;
-                       productReference = 8D1107320486CEB800E47090 /* PrintDrop.app */;
+                       productReference = 8D1107320486CEB800E47090 /* BU Print Drop.app */;
                        productType = "com.apple.product-type.application";
                };
 /* End PBXNativeTarget section */
                };
 /* End PBXResourcesBuildPhase section */
 
+/* Begin PBXShellScriptBuildPhase section */
+               1EE1E4B00D749106002999AD /* ShellScript */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       outputPaths = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /usr/bin/ruby;
+                       shellScript = "require \"ftools\"\nrequire \"Time\"\n\nhash = %x{/usr/local/bin/git log -1 --pretty=format:%h}\ntimestamp = %x{/usr/local/bin/git log -1 --pretty=format:%ct}\ntime = Time.at(timestamp.to_i)\n\nbuild = (\"%02d\" % time.year) + (\"%02d\" % time.month) + (\"%02d\" % time.day) + \".\" + hash\n\ninfopath = ENV[\"CONFIGURATION_BUILD_DIR\"] + \"/\" + ENV[\"INFOPLIST_PATH\"]\n\nfile = \"\"\nio = File.new(infopath)\nlastline = \"\"\nwhile line = io.gets do\n\tif lastline.match(\"CFBundleVersion\")\n\t\tfile += \"\\t<string>#{build}</string>\\n\"\n\telse\n\t\tfile += line\n\tend\n\tlastline = line\nend\nio.close\n\nio = File.new(infopath, \"w\")\nio.write(file)\nio.close";
+               };
+/* End PBXShellScriptBuildPhase section */
+
 /* Begin PBXSourcesBuildPhase section */
                1EE1E44D0D748AC9002999AD /* Sources */ = {
                        isa = PBXSourcesBuildPhase;
                                        suppress,
                                        "-force_flat_namespace",
                                );
-                               PRODUCT_NAME = PrintDrop;
+                               PRODUCT_NAME = "BU Print Drop";
                                WRAPPER_EXTENSION = app;
                                ZERO_LINK = YES;
                        };
                                        suppress,
                                        "-force_flat_namespace",
                                );
-                               PRODUCT_NAME = PrintDrop;
+                               PRODUCT_NAME = "BU Print Drop";
                                WRAPPER_EXTENSION = app;
                        };
                        name = Release;