SquirrelAliases.

Squirrel(ICakeContext, FilePath, SquirrelSettings) Method

Summary

Runs Squirrel Releasify against the specified NuGet package using the specified settings.
Assembly
Cake.Squirrel.dll
Namespace
Cake.Squirrel
Containing Type
SquirrelAliases

Syntax

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

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);
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
nugetPackage FilePath NuGet package to releasify.
settings SquirrelSettings The settings.

Return Value

Type Description
void