Prototype buildsystem "Drake"

Jacob Carlborg doob at me.com
Fri Jul 15 02:24:08 PDT 2011


On 2011-07-14 21:34, Nick Sabalausky wrote:
> That said, making Drake's functionality at least available in library form
> does sound like a good idea. And the buildscript-wrapping system (for people
> who want it) can, of course, be built on top of that.

The functionality of the build tool should absolutly be built as a 
library, then creating a thin wrapper around the library which will be 
the actual tool the user invokes. This will allow to have the build tool 
built into an IDE or similar.

Have a look at Orbit, the install command for example:

https://github.com/jacob-carlborg/orbit/blob/master/orbit/orb/commands/Install.d

Just two lines to do the invoke the installer (which could be one line).

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list