SquirrelAliases.

Squirrel(ICakeContext, FilePath, SquirrelSettings, bool, bool) Method

Summary

Runs Squirrel Releasify against the specified NuGet package using the specified settings, if output should be redirected, and if it should be silent.
Assembly
Cake.Squirrel.dll
Namespace
Cake.Squirrel
Containing Type
SquirrelAliases

Syntax

public static void Squirrel(this ICakeContext context, FilePath nugetPackage, SquirrelSettings settings, bool redirectStandardOutput, bool silent)

Examples

#tool "Squirrel.Windows" 
#addin Cake.Squirrel

Task("PackageWithSettings")
 .Does(() => {
   var settings = new SquirrelSettings();
   settings.NoMsi = true;
   settings.Silent = true; 

   Squirrel(File("Package.nupkg"), settings, true, false);
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
nugetPackage FilePath NuGet package to releasify.
settings SquirrelSettings The settings.
redirectStandardOutput bool Sets if the output of an tool is written to the System.Diagnostics.Process.StandardOutput stream.
silent bool Sets if the tool output should be suppressed.

Return Value

Type Description
void