Re: Cleaning with a shell script build phase
Re: Cleaning with a shell script build phase
- Subject: Re: Cleaning with a shell script build phase
- From: Michael Rice <email@hidden>
- Date: Thu, 18 Aug 2005 23:13:59 -0500
You're correct, it does not call the script for a 'clean'. I had this
same problem a couple days ago and ended up creating an External
Target to run the script. It works, but I would have preferred just
having a Shell Script Target.
Michael
On Aug 18, 2005, at 9:20 PM, Scott Tooker wrote:
I don't think we currently support calling Run Script build phases
when cleaning. I'd recommend filing a bug.
Scott
On Aug 18, 2005, at 2:18 PM, John Ashley Burgoyne wrote:
Hello,
I am using XCode to work on a large existing (wx)Python/C++
project. The project deploys with python distutils scripts, and so
I created a target with the following two Run Script build phases:
---- SCRIPT 1 - ALWAYS RUNS ----
if [ ${ACTION} = 'clean' ]; then
python setup.py clean --all
elif [ ${ACTION} = 'build' ]; then
python setup.py build
fi
---- SCRIPT 2 - RUNS ONLY WHEN INSTALLING ----
python setup.py install --home=${INSTALL_DIR}
----
These scripts do exactly as I would expect for development and
deployment builds, but XCode does not seem to call the script for
'clean'. Is it possible to do this?
Kind regards,
John Ashley Burgoyne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40knology.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden