I have a shell script that I would like to run at the end of my target's build phase. However, I would like this script to only run when I build with the release configuration. How can this be done? Thanks!
+3
A:
if [ ${CONFIGURATION} = "Release" ]; then
echo Do something really release-like
fi
The script will run at the end of every configuration, but it won't do anything in this case unless the configuration is Release (assuming everything it does is contained within the test block).
Jason Coco
2010-08-31 23:55:46
Exactly what I was looking for - thanks!
Reed Olsen
2010-09-01 00:05:34