buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: Resource filtering does not handle binary files?
Date Tue, 27 Sep 2011 18:55:14 GMT
On Tue, Sep 27, 2011 at 11:38 AM, Dieter Vrancken <> wrote:

> thanks for the quick response! How do I apply this monkey-patch? Just drop
> it in my tasks directory?

Since it's not a task, I'd put it in a separate (mapper_patch.rb) and add
require "mapper_path" at the top of my buildfile.

As for detecting binary content... I noticed that String has a method called
> is_binary_data? apparently contributed by yaml (*). It seems to do the
> trick, but I don't know if you can depend on it.

Thanks, I'll take a look.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message