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!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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).