buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <boisv...@intalio.com>
Subject Re: Help using Include
Date Wed, 17 Jun 2009 01:01:30 GMT
On Tue, Jun 16, 2009 at 5:31 PM, Andrew Moore <rp.andrew.moore@gmail.com>wrote:

> It seems like I should be able to do something like this:
>
> package(:war).enhance [] do |war|
>    war.path('').include(:from=>'a/b/c').include('**/*.js')
> end


Have you tried,

war.include(:from => _('a/b/c')).include('**/*.js')

?

(the underscore method makes the path relative to the project's base
directory)

alex

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