Gaetano, On Thu, Apr 14, 2011 at 11:23 AM, Gaetano Giunta <giunta.gaet...@gmail.com> wrote: > Jerome Renard <jero...@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