These tasks build and upload packages to the Chocolatey package manager for
Windows. They're enabled by calling pkg.addChocolateyTasks()
, which
automatically calls pkg.addStandaloneTasks()
.
Most of these tasks require the choco
command line application to run.
It's easiest to run Chocolatey on Windows (it comes pre-installed on Travis CI's
Windows VMs), but it's also possible to run it on other platforms using
Mono.
Uses configuration: pkg.version
, pkg.executables
,
pkg.chocolateyNuspec
, pkg.chocolateyFiles
Output: build/choco
Creates an un-archived directory that contains the package in a format that matches Chocolatey's layout expectations.
This does not require the choco
command-line executable.
Depends on: pkg-chocolatey
Uses configuration: pkg.chocolateyNuspec
Output: build/${name}.${version}.nupkg
Builds a Chocolatey-formatted .nupkg
file.
Depends on: pkg-chocolatey-pack
Uses configuration: pkg.version
, pkg.chocolateyNuspec
,
pkg.chocolateyToken
Releases the package to Chocolatey.