[Rake-devel] Rake and --directory option

Hugh Sasse hgs at dmu.ac.uk
Wed Jan 30 09:41:32 EST 2008


On Wed, 30 Jan 2008, Jim Weirich wrote:

> On Jan 30, 2008, at 8:54 AM, Andrea Fazzi wrote:
> 
> > Paweł Kondzior ha scritto:
> >> Hello, about 2 years ago someone posted patch for rake to be abbe to
> >> change current working directory before doing any tasks, this future
>         [...]
> 
> Since rake automatically changes directories to the directory  
> containing the rakefile, why not just specify the rakefile directly  
> (with the -f) option?

You might want to keep the rakefile outside to work for work on a 
directory that regularly gets messed up.  And Ruby has a -C option,
so for the same reasons as that.
> 
        Hugh


More information about the Rake-devel mailing list