You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Peter Schröder <ps...@blau.de> on 2009/11/22 17:49:24 UTC
default buildr.rb
i would like the default buildr include (~/buildr.rb) to be a hidden file .buildr f.e. so that it wont clutter the user-directory.
what do you thing about this?
kind regards,
peter
Re: default buildr.rb
Posted by Alex Boisvert <al...@gmail.com>.
Ok, I've changed this.
Here's how things work now,
1) $HOME/.buildr/buildr.rb is now loaded in preference.
2) If $HOME/.buildr/buildr.rb doesn't exist, $HOME/buildr.rb is loaded and a
deprecation warning is printed.
If you still use prior versions of Buildr and you don't want to duplicate
the content of your buildr.rb file, you can move you existing
$HOME/buildr.rb to $HOME/.buildr/buildr.b and create a new $HOME/buildr.rb
containing:
# Backward compatibility: Buildr 1.4+ uses $HOME/.buildr/buildr.rb
load File.expand_path('buildr.rb', Buildr.application.home_dir)
alex
On Sun, Nov 22, 2009 at 12:01 PM, Peter Schröder <ps...@blau.de> wrote:
> oh, i didn't know that yet...
>
> so putting the file in there would be fine too.
> ________________________________________
> Von: Alex Boisvert [alex.boisvert@gmail.com]
> Gesendet: Sonntag, 22. November 2009 18:24
> An: users@buildr.apache.org
> Betreff: Re: default buildr.rb
>
> I agree it's clutter.
>
> Since we already use the ~/.buildr directory, why not move it into that
> directory?
>
> alex
>
> On Sun, Nov 22, 2009 at 8:49 AM, Peter Schröder <ps...@blau.de> wrote:
>
> > i would like the default buildr include (~/buildr.rb) to be a hidden file
> > .buildr f.e. so that it wont clutter the user-directory.
> >
> > what do you thing about this?
> >
> > kind regards,
> > peter
>
AW: default buildr.rb
Posted by Peter Schröder <ps...@blau.de>.
oh, i didn't know that yet...
so putting the file in there would be fine too.
________________________________________
Von: Alex Boisvert [alex.boisvert@gmail.com]
Gesendet: Sonntag, 22. November 2009 18:24
An: users@buildr.apache.org
Betreff: Re: default buildr.rb
I agree it's clutter.
Since we already use the ~/.buildr directory, why not move it into that
directory?
alex
On Sun, Nov 22, 2009 at 8:49 AM, Peter Schröder <ps...@blau.de> wrote:
> i would like the default buildr include (~/buildr.rb) to be a hidden file
> .buildr f.e. so that it wont clutter the user-directory.
>
> what do you thing about this?
>
> kind regards,
> peter
Re: default buildr.rb
Posted by Alex Boisvert <al...@gmail.com>.
I agree it's clutter.
Since we already use the ~/.buildr directory, why not move it into that
directory?
alex
On Sun, Nov 22, 2009 at 8:49 AM, Peter Schröder <ps...@blau.de> wrote:
> i would like the default buildr include (~/buildr.rb) to be a hidden file
> .buildr f.e. so that it wont clutter the user-directory.
>
> what do you thing about this?
>
> kind regards,
> peter