Prototype buildsystem "Drake"
Jacob Carlborg
doob at me.com
Sun Jul 17 23:40:54 PDT 2011
On 2011-07-17 23:01, Nick Sabalausky wrote:
> "Jacob Carlborg"<doob at me.com> wrote in message
>> Ok, have you thought about how this will look (in code) and behave?
>>
>
> Not extensively, but here's what I have in mind so far. In an early initial
> version of Drake, it would be like this:
>
> task("configure", "drake.conf");
>
> file("drake.conf",
> (Target t)
> {
> // Do all configuring here and save to drake.conf
> }
> );
Ok. Will the build script change the configuration file? Seems kind of
strange. Usually the config file is used to control the build script,
not the other way around.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list