This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Squirrel.
Summary
Runs Squirrel Releasify against the specified NuGet package
using the specified settings, if output should be redirected, and
if it should be silent.
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