Jim Weirich wrote:
[...]
> (I'll see if I can fix that in an update).\
I just created a beta version of Rake that supports this. You can now
say:
task :move_files do
mv DAE_FILES.existing, PATH_INTERMEDIATE
end
FileLists now support an 'existing' method which returns a filelist
containing on ly existing file names. (There is also an existing!
method that does the same thing to the existing file list). Also,
FileLists can now be passed directly to FileUtils methods just like
arrays.
If you want to try the beta version, do:
gem install rake --source http://onestepback.org/betagems
-- Jim Weirich
--
Posted via http://www.ruby-forum.com/.