New-BoxstarterPackage

SYNOPSIS

Creates a new Chocolatey package source directory intended for a Boxstarter Install

SYNTAX

New-BoxstarterPackage [-Name <String>] [-description <String>]
[-path <String>] <CommonParameters>

DESCRIPTION

New-BoxstarterPackage creates a new Directory in your local
Boxstarter repository located at $Boxstarter.LocalRepo. If no path is
provided, Boxstarter creates a minimal nuspec and
ChocolateyInstall.ps1 file. If a path is provided, Boxstarter will
copy the contents of the path to the new package directory. If the
path does not include a nuspec or ChocolateyInstall.ps1, Boxstarter
will create one. You can use Invoke-BoxstarterBuild to pack the
repository directory to a Chocolatey nupkg. If your path includes
subdirectories, you can use Get-PackageRoot inside
ChocolateyInstall.ps1 to reference the parent directory of the copied
content.

PARAMETER

Name

The name of the package to create

Description

Description of the package to be written to the nuspec

Path

Optional path whose contents will be copied to the repository

LINK

about boxstarter.chocolatey
About the $Boxstarter Variable
Invoke-BoxstarterBuild
Get-PackageRoot

Last edited Mar 13, 2013 at 10:04 AM by mwrock, version 1