From: Mike Gold Date: 2008-09-25T00:46:01+09:00 Subject: Re: Rake dependencies unknown prior to running tasks Joe Wę—¦lfel wrote: > Say I don't know what all the dependencies are until I've already > begun executing tasks? To what extent can I add new tasks and > dependencies on the fly? This is what 'import' is for, import 'moretasks.rb' moretasks.rb is run after the Rakefile has been loaded but before any tasks are invoked. Actually I see no reason why it has to be a file. It looks like 'import' should take an optional block. -- Posted via http://www.ruby-forum.com/.