Cleaning with a shell script build phase
Cleaning with a shell script build phase
- Subject: Cleaning with a shell script build phase
- From: John Ashley Burgoyne <email@hidden>
- Date: Thu, 18 Aug 2005 17:18:53 -0400
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