scriptlike

Currently only works for D. This convenience rule builds a D scriptlike, automatically calculating which files must be compiled in a similar way to rdmd. All paths are relative to projectPath. This template function is provided as a wrapper around the regular runtime version below so it can be aliased without trying to call it at runtime. Basically, it's a way to use the runtime scriptlike without having define a function in reggaefile.d, i.e.: alias myApp = scriptlike!(...); mixin build!(myApp); vs. Build myBuld() { return scriptlike(..); }

Meta