[Rake-devel] Copying directories when contents change

Francisco Tolmasky tolmasky at gmail.com
Sun May 3 05:02:59 EDT 2009

One of my tasks in rake is to copy a direcoty, as so:

file directory_copy => directory do
	#copy the directory

However, if I modify a file within "directory", the modified date does  
not change on "directory" itself, and thus the two fall out of sync.  
I'm sure this problem must be common, is there an "accepted" way of  
dealing with this?

Francisco Tolmasky
tolmasky at gmail.com

More information about the Rake-devel mailing list