public static RippleOperation For <T>(SolutionInput input, Solution solution) { var target = _target ?? solution; var description = input.DescribePlan(solution); if (description.IsNotEmpty()) { RippleLog.Info(description); } input.Apply(target); var runner = new RippleStepRunner(new FileSystem()); return(new RippleOperation(target, input, runner)); }
public static void CleanWithTracing(this IFileSystem system, string directory) { RippleLog.Info("Cleaning contents of directory " + directory); system.ForceClean(directory); }