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

Deleting .svn folders after building


  • Subject: Deleting .svn folders after building
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 19 Oct 2004 20:46:05 -0400

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

  • Follow-Ups:
    • Re: Deleting .svn folders after building
      • From: Ashley Clark <email@hidden>
  • Prev by Date: Re: So Nobody knows XCode ClassPath, huh? How bout packages?
  • Next by Date: Xcode app and WGM
  • Previous by thread: Re: So Nobody knows XCode ClassPath, huh? How bout packages?
  • Next by thread: Re: Deleting .svn folders after building
  • Index(es):
    • Date
    • Thread