"Adam D. Ruppe" <[email protected]> wrote in message news:[email protected]... > Nick Sabalausky wrote: >> Just one extra deps-gathering invokation each time a >> deps-gathering invokation finds unsatisfied depenencies, and *only* >> the first time you build. > > It could probably cache the last successful command...
Nothing would need to be cached. After the initial "gather everything and build" build, all it would ever have to do is exactly what RDMD already does right now: Run DMD once to find the deps, check them to see if anything needs rebuilt, and if so, run DMD the second time to build. There'd never be any need for more than those two invokations (and the first one tends to be much faster anyway) until a new library dependency is introduced.
