Cake.Paket

Adds paket support to cake.

#addin nuget:?package=Cake.Paket&version=4.0.0

<package id="Cake.Paket" version="4.0.0" />

dotnet add package Cake.Paket --version 4.0.0

<PackageReference Include="Cake.Paket" Version="4.0.0" />

Aliases

Contains functionality for working with paket.

In order to use the commands for this addin, you will need to include the following in your build.cake file:

#addin paket:?package=Cake.Paket

This assumes your using the Cake.Paket.Module. If you'd rather use NuGet then include:

#addin nuget:?package=Cake.Paket
#tool nuget:?package=Paket

Pack

PaketPack(ICakeContext, DirectoryPath) Creates NuGet package(s) in the output directory.
PaketPack(ICakeContext, DirectoryPath, PaketPackSettings) Creates NuGet package(s) in the output directory for the given settings.

Push

PaketPush(ICakeContext, FilePath, PaketPushSettings) Pushes NuGet package defined by the file path for the given settings.
PaketPush(ICakeContext, IEnumerable<FilePath>, PaketPushSettings) Pushes NuGet packages defined by the file paths for the given settings.

Restore

PaketRestore(ICakeContext) Runs paket restore.
PaketRestore(ICakeContext, PaketRestoreSettings) Runs paket restore for the given settings.