incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Renard <jero...@apache.org>
Subject Re: [zeta-dev] PHP based build system : Phing VS Pake
Date Thu, 14 Apr 2011 09:36:36 GMT
Gaetano,

On Thu, Apr 14, 2011 at 11:23 AM, Gaetano Giunta
<giunta.gaetano@gmail.com> wrote:
> Jerome Renard <jeromer@apache.org> wrote on 14/04/2011 11:11:
[...]
>>
>> I believe you can define environment variables on Windows:
>> -
>> https://fisheye6.atlassian.com/browse/zetacomponents/website/Pakefile?hb=true#to150
>
> Sure enough - albeit it's not as common to do it as it's on unix.

Ok.

> I still prefer cli options than env vars for 90% of the time though, as it's
> easier to understand what is happening when the options are explicit.
>
> But, as far as I can see in your code, what you can do is that you can swap
> out one config file with another.
>
> What I was asking to is to separate cofig options: one set that is
> project-specific (stored in the config file), and one set that is specific
> to the build environment (passed via cli options or env vars).
>

I'll see how to pass arguments from the command line in Pake then.

-- 
Jérôme Renard
http://39web.fr | http://jrenard.info | http://twitter.com/jeromerenard

Mime
View raw message