buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: Passing parameters to buildr
Date Thu, 29 May 2008 00:46:07 GMT
On Wed, May 28, 2008 at 7:10 AM, Sergey Konakov <skonakov@gmail.com> wrote:
> I'm trying to use buildr 1.3 and am having trouble passing parameters to the
> buildr script.
> in 1.2.10 i use be able to do:
>
> buildr build foo=bar
>
> And then ENV["foo"] would be "bar" when i read it in my script. This doesn't
> seem to be the case anymore.
> Is there a new way to pass parameters or am i just missing something?

Look for ENV['FOO'].

The environment name gets capitalized.

Assaf

>
> Sergey
>

Mime
View raw message