public static object GetTargets() { var notToBeCleanedBecauseTarget = new TaskToBeCleaned(BuiltArtefacts, "b"); var taskWithDeps = new TaskWithDeps(BuiltArtefacts, "c") { NotToBeCleaned = new FakeArtefactTask(BuiltArtefacts, "a"), ToBeCleaned = notToBeCleanedBecauseTarget }; return new { C = taskWithDeps, DependsOnTaskToBeCleaned = notToBeCleanedBecauseTarget, }; }
public static object GetTargets() { var notToBeCleanedBecauseTarget = new TaskToBeCleaned(BuiltArtefacts, "b"); var taskWithDeps = new TaskWithDeps(BuiltArtefacts, "c") { NotToBeCleaned = new FakeArtefactTask(BuiltArtefacts, "a"), ToBeCleaned = notToBeCleanedBecauseTarget }; return(new { C = taskWithDeps, DependsOnTaskToBeCleaned = notToBeCleanedBecauseTarget, }); }