Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public CachingEngine(Engine engine, FileInfo script, Task[] tasks, bool reset)
 {
     this.engine = engine;
     this.script = script;
     this.tasks = tasks;
     this.reset = reset;
 }