On Tue, Jun 16, 2009 at 5:31 PM, Andrew Moore <rp.andrew.mo...@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

Reply via email to