[Rake-devel] ~/.rake file?

Jonathan Stott jonathan.stott at gmail.com
Thu Aug 21 05:46:46 EDT 2008

On Wed, 20 Aug 2008 14:51:21 -0400
Trans <transfire at gmail.com> wrote:
> May I make a slightly different suggestion here. I know it isn't the
> typical way, but I've been trying to promote the idea to of using
> shared hidden home directories. Home directories have gotten so
> bloated with hidden config files, when I use a file dialog that
> doesn't support any way to hide them it is annoying, to say the least.
> So to help combat this I've been modeling my app's use of hidden home
> locations roughly after FHS. Eg.
>   ~/.bin/
>   ~/.etc/
>   ~/.lib/
>   ~/.share/
> For rake tasks ~/.lib/ might be the most appropriate, though /.share
> is sort of safe bet for anything. So instead of ~/.rake, how about:
>   ~/.lib/rake
> Of course, both could be supported too.
> > Also, I see you added '.rake' to the list of rakefile names.  I'm not sure
> > that is necessary, since we never find ~/.rake when searching for rakefiles.
> Hmm... Does it matter? Won't rake -T just say "no one home"? Also, the
> optional alternative of  "_rake" could work too. That's what Darcs
> does to support Windows better.

Perhaps the easiest solution, rather than checking for potentially infinite number of places where people might want to put this, is to have a default (~/.rake seems like a good place) and have the ability to override the default via an environmental variable?


More information about the Rake-devel mailing list