[75311] users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj
ryandesign at macports.org
ryandesign at macports.org
Fri Jan 21 02:01:38 PST 2011
Revision: 75311
http://trac.macports.org/changeset/75311
Author: ryandesign at macports.org
Date: 2011-01-21 02:01:37 -0800 (Fri, 21 Jan 2011)
Log Message:
-----------
Set the CFBundleVersion to the revision in a post-build run script phase
Modified Paths:
--------------
users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj
Modified: users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj
===================================================================
--- users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj 2011-01-21 09:16:13 UTC (rev 75310)
+++ users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj 2011-01-21 10:01:37 UTC (rev 75311)
@@ -163,6 +163,7 @@
8D11072C0486CEB800E47090 /* Sources */,
8D11072E0486CEB800E47090 /* Frameworks */,
505184E9127A2FAB00078EC1 /* ShellScript */,
+ 50D13B3D12E8FE1100D0748F /* ShellScript */,
50518529127A375200078EC1 /* CopyFiles */,
);
buildRules = (
@@ -225,6 +226,19 @@
shellPath = /bin/sh;
shellScript = "MY_DIR=\"Banners\"\nmkdir -p \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/${MY_DIR}\"\nfind \"${PROJECT_DIR}/${MY_DIR}\" -name '*.jpg' -print0 | xargs -0 -J % cp % \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/${MY_DIR}\" || exit $?\n";
};
+ 50D13B3D12E8FE1100D0748F /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "SVNVERSION=$(which svnversion)\nPLISTBUDDY=/usr/libexec/PlistBuddy\nif [ -x $SVNVERSION -a -x $PLISTBUDDY ]; then\n\tREV=`$SVNVERSION -nc | sed 's/^[^:]*://'`\n\t$PLISTBUDDY -c \"Set :CFBundleVersion $REV\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"\nfi";
+ };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110121/58031568/attachment.html>
More information about the macports-changes
mailing list