[Rake-devel] FileList#exclude and globbing patternsl

Luis Lavena luislavena at gmail.com
Tue Nov 4 05:48:44 EST 2008


On Tue, Nov 4, 2008 at 12:54 AM, Ittay Dror <ittay.dror at gmail.com> wrote:
>
>
> Jim Weirich wrote:
>
>> On Nov 3, 2008, at 6:28 AM, Ittay Dror wrote:
>>>
>>> When using FileList#exclude with a globbing pattern, it uses Dir[pat] to
>>> get all files matching the pattern and then adds them to an ignore list
>>> which is then converted to a regular expression.
>>>
>>> This process is very slow. Why not use File.fnmatch?
>>
>> Good question.  The biggest reason is probably that I'm not familiar with
>> fnmatch.
>>
>> Want to supply a patch?
>>
> sure. i get an error page trying to access
> http://github.com/jimweirich/rake/tree/master, do you know why?
>

GitHub sometimes comes and go. I suggest you "git clone" from it and
work offline to create the patches ;-)

-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams


More information about the Rake-devel mailing list