• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cleaning with a shell script build phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cleaning with a shell script build phase
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Possible to set suffix for C++ headers??
  • Next by Date: Debugging with x code
  • Previous by thread: Re: Possible to set suffix for C++ headers??
  • Next by thread: Re: Cleaning with a shell script build phase
  • Index(es):
    • Date
    • Thread