All Projects → jmgilman → ChocolateyPackageCreator

jmgilman / ChocolateyPackageCreator

Licence: MIT license
Powershell module for creating internal Chocolatey packages

Programming Languages

powershell
5483 projects
PostScript
262 projects

Chocolatey Package Creator

Powershell module for creating internal Chocolatey packages

Installation

$> Install-Module ChocolateyPackageCreator

Usage

For a more in-depth guide, see Getting Started. Create a new package template:

$> New-ChocolateyPackageConfig C:\my\package

Modify the contents of the template package to fit the needs of the package you are trying to create. For more in-depth documentation and examples, see the examples directory. To understand the schema of a package file, see the schema documentation. When ready, build the package:

$> $config = Import-PowerShellDataFile 'C:\my\package\package.psd1'
$> $packagePath = New-ChocolateyPackage (Split-Path $configFile) $config | 
    Build-ChocolateyPackage -OutPath 'C:\my\package\bin'

And then publish it:

$> Publish-ChocolateyPackage `
    -Repository 'http://my.nuget.com/repository' `
    -ApiKey $env:API_KEY `
    -PackageFile $packagePath

Features

  • Define all package elements in a single configuration file
  • Automatically download and scan external files
  • Easily extendable with custom logic in the package creation process
  • Create and deploy packages with a single module

Meta

Joshua Gilman - [email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/jmgilman

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].