On Dec 16, 2012 10:47 AM, "Łukasz Mach" <[email protected]> wrote: > > W dniu 07.12.2012 08:35, Łukasz Mach pisze: > >> Hi, >> >> Is there any way to place kind of compile time hook? I mean - piece of >> code which is executed at compile time, to eg. merge all used .css files >> or something like that. > > > Nobody replied to that. I'm worrying that project is dying ... am I worrying too much or really something is wrong with it's vitality?
I think that no one answering is more them not knowing -- very few (now or in past) would have such answers. No, there is no such hook system, and no good place to insert one either... eg, I have an outstanding bug causing in-place compilation to conflict with dynamic linking for absolutely no reason other than the code actually writing the module cannot reliably determine its own name. The translator/linker modules are very procedural, in an almost brute-force kind of way. In my personal repo I have an early/experimental branch (oolinker) exploring the need to update to a modern OO architecture. Such changes are prerequisite to not only the aforementioned bug, but also parallel/distributed compilation via waf, and simpler testing/experimentation of new/alternative implementations, whether it be the entire process, a single module, or even a single built-in. I'm particularity interested in getting waf working, because that allows applying the same framework used by our own builds to be repurposed in *your* application builds... eg, it's trivial at that point to write custom waf-tools handling such things as compression, minification, bundling (say... CSS), or even deployment. Interestingly, waf provides things like proper caching and rebuild support for free, ridding us of our own busted implementation. -- C Anthony --
