Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 2.03 KB

chocolatey.md

File metadata and controls

56 lines (35 loc) · 2.03 KB

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.

pkg-chocolatey

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.

pkg-chocolatey-pack

Depends on: pkg-chocolatey

Uses configuration: pkg.chocolateyNuspec

Output: build/${name}.${version}.nupkg

Builds a Chocolatey-formatted .nupkg file.

pkg-chocolatey-deploy

Depends on: pkg-chocolatey-pack

Uses configuration: pkg.version, pkg.chocolateyNuspec, pkg.chocolateyToken

Releases the package to Chocolatey.