Skip to content
develop
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Cake.Squirrel

A Cake Addin for Squirrel.Windows.

Build status

cakebuild.net

Join the chat at https://gitter.im/cake-build/cake

Functionality

Supports all the current command line options provided by Squirrel.Windows

Usage: Squirrel.exe command [OPTS]
Manages Squirrel packages

Commands
      --releasify=VALUE      Update or generate a releases directory with a
                               given NuGet package
Options:
  -h, -?, --help             Display Help and exit
  -r, --releaseDir=VALUE     Path to a release directory to use with releasify
  -p, --packagesDir=VALUE    Path to the NuGet Packages directory for C# apps
      --bootstrapperExe=VALUE
                             Path to the Setup.exe to use as a template
  -g, --loadingGif=VALUE     Path to an animated GIF to be displayed during
                               installation
  -i, --icon=VALUE           Path to an ICO file that will be used for icon
                               shortcuts
      --setupIcon=VALUE      Path to an ICO file that will be used for the
                               Setup executable's icon
  -n, --signWithParams=VALUE Sign the installer via SignTool.exe with the
                               parameters given
  -s, --silent               Silent install
  -l, --shortcut-locations=VALUE
                             Comma-separated string of shortcut locations, e.g.
                               'Desktop,StartMenu'
      --no-msi               Don't generate an MSI package

Usage

To use the addin just add it to Cake call the aliases and configure any settings you want.

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

...

// How to package with no settings
Task("PackageNoSettings")
	.Does(() => {
		Squirrel(GetFile("Package.nupkg"));
	});
	
// How to package with the settings
Task("PackageWithSettings")
	.Does(() => {
		var settings = new SquirrelSettings();
		settings.NoMsi = true;
		settings.Silent = true;
		
		Squirrel(GetFile("Package.nupkg", settings));
	});

Thats it.

Hope you enjoy using.

Support

If you would like to support this project, there are several opportunities. Pull Requests, bug reports, documentation, promotion, and encouragement are all great ways. If you would like to contribute monetarily, you can Buy Me a Coffee.

You can’t perform that action at this time.