Exemple #1
0
        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));
        }
Exemple #2
0
 public static void CleanWithTracing(this IFileSystem system, string directory)
 {
     RippleLog.Info("Cleaning contents of directory " + directory);
     system.ForceClean(directory);
 }