projects
/
enjoyable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4dabc5c
)
Fix paths that trigger build increments.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 9 Mar 2013 14:07:47 +0000
(15:07 +0100)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 9 Mar 2013 14:07:47 +0000
(15:07 +0100)
Enjoyable.xcodeproj/project.pbxproj
patch
|
blob
|
history
diff --git
a/Enjoyable.xcodeproj/project.pbxproj
b/Enjoyable.xcodeproj/project.pbxproj
index
541a4b6
..
901a000
100644
(file)
--- a/
Enjoyable.xcodeproj/project.pbxproj
+++ b/
Enjoyable.xcodeproj/project.pbxproj
@@
-348,7
+348,7
@@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "#!/bin/sh\n\nplist=\"${PROJECT_DIR}/${INFOPLIST_FILE}\"\ndir=\"$(dirname \"$plist\")\"\n\n# Only increment the build number if source files have changed\nif [ -n \"$(find \"$dir\" \\! -path \"*xcuserdata*\" \\! -path \"*.git
\"
-newer \"$plist\")\" ]; then\n buildnum=$(/usr/libexec/Plistbuddy -c \"Print CFBundleVersion\" \"$plist\")\n if [ -z \"$buildnum\" ]; then\n echo \"No build number in $plist\"\n exit 2\n fi\n buildnum=$(expr $buildnum + 1)\n /usr/libexec/Plistbuddy -c \"Set CFBundleVersion $buildnum\" \"$plist\"\n echo \"Incremented build number to $buildnum\"\nelse\n echo \"Not incrementing build number as source files have not changed\"\nfi\n";
+ shellScript = "#!/bin/sh\n\nplist=\"${PROJECT_DIR}/${INFOPLIST_FILE}\"\ndir=\"$(dirname \"$plist\")\"\n\n# Only increment the build number if source files have changed\nif [ -n \"$(find \"$dir\" \\! -path \"*xcuserdata*\" \\! -path \"*.git
*\" \\! -name .DS_Store
-newer \"$plist\")\" ]; then\n buildnum=$(/usr/libexec/Plistbuddy -c \"Print CFBundleVersion\" \"$plist\")\n if [ -z \"$buildnum\" ]; then\n echo \"No build number in $plist\"\n exit 2\n fi\n buildnum=$(expr $buildnum + 1)\n /usr/libexec/Plistbuddy -c \"Set CFBundleVersion $buildnum\" \"$plist\"\n echo \"Incremented build number to $buildnum\"\nelse\n echo \"Not incrementing build number as source files have not changed\"\nfi\n";
};
EED7E81616E7B547004A0BA4 /* Generate Help Index */ = {
isa = PBXShellScriptBuildPhase;
};
EED7E81616E7B547004A0BA4 /* Generate Help Index */ = {
isa = PBXShellScriptBuildPhase;