Beispiel #1
0
        public static void Squirrel(this ICakeContext context, FilePath nugetPackage, SquirrelSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }
            var runner = new SquirrelRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run(nugetPackage, settings);
        }
Beispiel #2
0
        public static void Squirrel(this ICakeContext context, FilePath nugetPackage, SquirrelSettings settings, bool redirectStandardOutput, bool silent)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }
            var runner = new SquirrelRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run(nugetPackage, settings, new ProcessSettings {
                RedirectStandardOutput = redirectStandardOutput, Silent = silent
            });
        }