buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: preventing a recursive task
Date Sat, 20 Sep 2008 19:34:30 GMT
On Sat, Sep 20, 2008 at 4:33 AM, Ittay Dror <ittay.dror@gmail.com> wrote:
> Hi,
>
> I have some modules which are maintenance modules, that is, rarely built. So
> when building from the top directory, I don't want them to run. However, I
> still want them to inherit definitions put in the root project.

You can make them conditional:

if ENV['with'] == 'all'
  ....
end

and then run buildr with=all when you wan to build all the modules,
skip the variable when you don't.

Assaf

>
> Thanks,
> Ittay
>
> --
> --
> Ittay Dror <ittay.dror@gmail.com>
>
>
>

Mime
View raw message