• 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
Re: Cleaning with a shell script build phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cleaning with a shell script build phase


  • Subject: Re: Cleaning with a shell script build phase
  • From: Scott Tooker <email@hidden>
  • Date: Thu, 18 Aug 2005 19:20:51 -0700

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Cleaning with a shell script build phase
      • From: Michael Rice <email@hidden>
References: 
 >Cleaning with a shell script build phase (From: John Ashley Burgoyne <email@hidden>)

  • Prev by Date: Re: Can't tell build configurations to use different libraries
  • Next by Date: Re: Cleaning with a shell script build phase
  • Previous by thread: Cleaning with a shell script build phase
  • Next by thread: Re: Cleaning with a shell script build phase
  • Index(es):
    • Date
    • Thread