I think that would be a huge mistake. Why would anyone want to invent a full blown language and a big pain in the butt just to build a project if the project can build itself by looking at the source code?


On Wed, Nov 28, 2012 at 7:48 PM, Jacob Carlborg <doob@me.com> wrote:
On 2012-11-27 17:04, Andrei Alexandrescu wrote:

Even with --shebang there are odd limitations of the shebang line length
etc. I think it would make sense to add options in the form of a
stylized comment below the shebang line. That comment can be read and
parsed by rdmd appropriately. For example:

#!/usr/bin/rdmd
/**rdmdoptions
-L-lmylib
*/
...

What would be some useful options to add, aside from those already
supported?

I don't know why anyone would bother implementing this. What's needed is a proper build tool. That includes build scripts that can be written in a full blow language.

--
/Jacob Carlborg



--
Bye,
Gor Gyolchanyan.