Squirrel

Contains types and utility functions related to creating Squirrel installer.

Nested types and modules

TypeDescription
ReleasifyParams

The Squirrel Console Parameters type.

For reference, see: Squirrel Command Line Options

Functions and values

Function or valueDescription
Squirrel.releasify(...)
Signature: nugetPackage:string -> setParams:(ReleasifyParams -> ReleasifyParams) -> unit

Creates a Squirrel installer for given NuGet package Will fail if Squirrel terminates with non-zero exit code.

Parameters

  • setParams - Function used to manipulate the default SquirrelParams value.
  • nugetPackage - The package to create an installer for

Sample usage

1: 
2: 
3: 
Target.create "CreatePackage" (fun _ ->
    Squirrel.releasify "./my.nupkg" (fun p -> { p with ReleaseDir = "./squirrel_release")
)

Defaults for setParams

  • ReleaseDir - ""
  • WorkingDir - None
  • BootstrapperExe - None
  • LoadingGif - None
  • SetupIcon - None
  • NoMsi - false
  • ToolPath - The squirrel.exe path if it exists in a subdirectory of the current directory.
  • TimeOut - 10 minutes
  • SignExecutable - None
  • SigningKeyFile - None
  • SigningSecret - None