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); }
public CakeBuildScriptState(IScriptTaskEvaluator scriptTaskEvaluator, FilePath solutionFilePath, DirectoryPath buildScriptPath, DirectoryPath outputPath) : base(scriptTaskEvaluator, solutionFilePath, buildScriptPath, outputPath) { this.cakeBuildTasksProvider = new CakeBuildTasksProvider(); }
public BuildCake(IScriptTaskEvaluator scriptTaskEvaluator, InitOptions initOptions) { this.scriptTaskEvaluator = scriptTaskEvaluator; this.initOptions = initOptions; this.scriptState = new CakeBuildScriptState(scriptTaskEvaluator, initOptions.SolutionFilePath, "build", "bin"); }