예제 #1
0
 public BuildScriptState(IScriptTaskEvaluator scriptTaskEvaluator, FilePath solutionFilePath, DirectoryPath buildScriptPath, DirectoryPath outputPath)
 {
     this.scriptTaskEvaluator = scriptTaskEvaluator;
     this.ScriptTasks         = new List <ITask>();
     this.SolutionFilePath    = solutionFilePath;
     this.BasePath            = new DirectoryPath(Directory.GetCurrentDirectory());
     this.BuildScriptPath     = this.BasePath.Combine(buildScriptPath);
     this.OutputPath          = this.BasePath.Combine(outputPath);
 }
예제 #2
0
 public CakeBuildScriptState(IScriptTaskEvaluator scriptTaskEvaluator, FilePath solutionFilePath, DirectoryPath buildScriptPath, DirectoryPath outputPath)
     : base(scriptTaskEvaluator, solutionFilePath, buildScriptPath, outputPath)
 {
     this.cakeBuildTasksProvider = new CakeBuildTasksProvider();
 }
예제 #3
0
 public BuildCake(IScriptTaskEvaluator scriptTaskEvaluator, InitOptions initOptions)
 {
     this.scriptTaskEvaluator = scriptTaskEvaluator;
     this.initOptions         = initOptions;
     this.scriptState         = new CakeBuildScriptState(scriptTaskEvaluator, initOptions.SolutionFilePath, "build", "bin");
 }