• 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
Run Script phase - input folder (and children) as dependency?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run Script phase - input folder (and children) as dependency?


  • Subject: Run Script phase - input folder (and children) as dependency?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 13 Oct 2009 12:13:07 -0400

The Xcode documentation says:

	Xcode uses the input and output files to determine whether to run
	the script and to determine the order inwhich the script is
	executed. Specifying input and output files ensures that Xcode runs
	the script only whenthe modification date of any of the input files
	is later than the modification date of any of the output
	files(reducing the time it takes to build your product), and that
	the files the script produces are included in thedependency analysis
	the build system performs before building your product. If you
	provide no outputs,Xcode runs the script every time you build the
	target.

I’d like to specify a directory as an input, and have the script run whenever any file inside this directory (or its children) changes.

Is it possible to do this using some sort of wildcard or regex syntax?

I’ve put the directory as an input file, but that only triggers the script to re-run when the directory mod date is bumped, which isn’t quite what I need.

- Jim _______________________________________________
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: Run Script phase - input folder (and children) as dependency?
      • From: Jason Foreman <email@hidden>
  • Prev by Date: Linker error with std C tool
  • Next by Date: Re: How to retrieve file name when "Open with..." via Finder
  • Previous by thread: Re: Linker error with std C tool
  • Next by thread: Re: Run Script phase - input folder (and children) as dependency?
  • Index(es):
    • Date
    • Thread