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 2010/01/05 16:15:13 UTC

sensible default exclude

hi,

i am doing a simple task like 

package(:zip, :file=>_(:target, "#{PROJECT_NAME}.zip")).include(_(:context, '*'))

and get a zip containing ALL the stuff from that directory.

i think it would be wise to provide some default filters that ignore files like '.gitignore' etc.

what do you think?

kind regards,
peter

Re: sensible default exclude

Posted by Peter Schröder <ps...@blau.de>.
maybe a .buildr/defaults.yaml ?


Am 05.01.2010 um 20:07 schrieb Alex Boisvert:

> Yes, definitely a good idea.  Rake already does this in some places (e.g.,
> FileList will automatically ignore .cvs directories, .bak files, etc).
> 
> It would be nice to have a global setting where ignored files/directories
> are defined, with a decent set of default values.
> 
> alex
> 
> 
> On Tue, Jan 5, 2010 at 10:15 AM, Peter Schröder <ps...@blau.de> wrote:
> 
>> hi,
>> 
>> i am doing a simple task like
>> 
>> package(:zip, :file=>_(:target, "#{PROJECT_NAME}.zip")).include(_(:context,
>> '*'))
>> 
>> and get a zip containing ALL the stuff from that directory.
>> 
>> i think it would be wise to provide some default filters that ignore files
>> like '.gitignore' etc.
>> 
>> what do you think?
>> 
>> kind regards,
>> peter


Re: sensible default exclude

Posted by Alex Boisvert <al...@gmail.com>.
Yes, definitely a good idea.  Rake already does this in some places (e.g.,
FileList will automatically ignore .cvs directories, .bak files, etc).

It would be nice to have a global setting where ignored files/directories
are defined, with a decent set of default values.

alex


On Tue, Jan 5, 2010 at 10:15 AM, Peter Schröder <ps...@blau.de> wrote:

> hi,
>
> i am doing a simple task like
>
> package(:zip, :file=>_(:target, "#{PROJECT_NAME}.zip")).include(_(:context,
> '*'))
>
> and get a zip containing ALL the stuff from that directory.
>
> i think it would be wise to provide some default filters that ignore files
> like '.gitignore' etc.
>
> what do you think?
>
> kind regards,
> peter