コード例 #1
0
ファイル: CodeFixture.cs プロジェクト: jthelin/Nake
        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);
        }
コード例 #2
0
ファイル: Caching.cs プロジェクト: jthelin/Nake
 public CachingEngine(Engine engine, FileInfo script, Task[] tasks, bool reset)
 {
     this.engine = engine;
     this.script = script;
     this.tasks = tasks;
     this.reset = reset;
 }