PaketAliases Class

Summary

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

Assembly
Cake.Paket.Addin.dll
Namespace
Cake.Paket.Addin
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PaketAliases"] class Type type-node

Syntax

public static class PaketAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
PaketPack(ICakeContext, DirectoryPath, PaketPackSettings) void
Creates NuGet package(s) in the output directory for the given settings.
static
PaketPack(ICakeContext, DirectoryPath) void
Creates NuGet package(s) in the output directory.
static
PaketPush(ICakeContext, FilePath, PaketPushSettings) void
Pushes NuGet package defined by the file path for the given settings.
static
PaketPush(ICakeContext, IEnumerable<FilePath>, PaketPushSettings) void
Pushes NuGet packages defined by the file paths for the given settings.
static
PaketRestore(ICakeContext, PaketRestoreSettings) void
Runs paket restore for the given settings.
static
PaketRestore(ICakeContext) void
Runs paket restore.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin