• 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: Deleting .svn folders after building
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting .svn folders after building


  • Subject: Re: Deleting .svn folders after building
  • From: Ashley Clark <email@hidden>
  • Date: Wed, 20 Oct 2004 21:00:17 -0500

I renamed /Developer/Tools/pbxcp to /Developer/Tools/pbxcp.orig and made a shell script in its' place.

#!/bin/bash
/Developer/Tools/pbxcp.orig -exclude .svn "$@"

That way the .svn folder is never copied in the first place.

On Oct 19, 2004, at 7:46 PM, Sean McBride wrote:

Hi,

For those that use subversion, you know there are invisible .svn folders
that should not be there in the end.


My solution is to use a shell script build phase at the very end to find
and delete them. It's working, but I have some questions:


1) My script is:

FULLPATH=$TARGET_BUILD_DIR/$WRAPPER_NAME
find $FULLPATH -name '.svn' -print0 | xargs -0 rm -rf

I'm always *very* scared to us 'rm' as I'm no script expert. Does this
look right? I'm especially worried about non-ASCII filename and spaces...


2) What is the 'Input Files table' for? The docs say: "The Input Files
table specifies the files that the script operates on". But I can't know
this until 'find' runs.


Thanks!

--
Erroneous google translation: "To cook with the furnace approximately 15
minutes and to be useful."



_______________________________________________ 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


Ashley Clark

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Deleting .svn folders after building
      • From: "Sean McBride" <email@hidden>
References: 
 >Deleting .svn folders after building (From: "Sean McBride" <email@hidden>)

  • Prev by Date: XCode and external editor protocol
  • Next by Date: Re: XCode and external editor protocol
  • Previous by thread: Deleting .svn folders after building
  • Next by thread: Re: Deleting .svn folders after building
  • Index(es):
    • Date
    • Thread