protected static void Build(string code, Dictionary<string, string> substitutions = null) { var engine = new Engine(); var result = engine.Build( code, substitutions ?? new Dictionary<string, string>(), false ); TaskRegistry.Global = new TaskRegistry(result); }
public CachingEngine(Engine engine, FileInfo script, Task[] tasks, bool reset) { this.engine = engine; this.script = script; this.tasks = tasks; this.reset = reset; }