Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

Paket

Contains helper functions and task which allow to inspect, create and publish NuGet packages with Paket.

Nested types and modules

TypeDescription
PaketPackParams

Paket pack parameter type

PaketPushParams

Paket push parameter type

PaketRestoreParams

Paket restore packages type

Functions and values

Function or valueDescription
Paket.getDependenciesForReferencesFile(...)
Signature: referencesFile:string -> (string * string) []

Returns the dependencies from specified paket.references file

Paket.pack(setParams)
Signature: setParams:(PaketPackParams -> PaketPackParams) -> unit

Creates a new NuGet package by using Paket pack on all paket.template files in the working directory.

Parameters

  • setParams - Function used to manipulate the default parameters.
Paket.PaketPackDefaults()
Signature: unit -> PaketPackParams

Paket pack default parameters

Paket.PaketPushDefaults()
Signature: unit -> PaketPushParams

Paket push default parameters

Paket.PaketRestoreDefaults()
Signature: unit -> PaketRestoreParams

Paket restore default parameters

Paket.push(setParams)
Signature: setParams:(PaketPushParams -> PaketPushParams) -> unit

Pushes all NuGet packages in the working dir to the server by using Paket push.

Parameters

  • setParams - Function used to manipulate the default parameters.
Paket.pushFiles setParams files
Signature: setParams:(PaketPushParams -> PaketPushParams) -> files:seq<string> -> unit

Pushes the given NuGet packages to the server by using Paket push.

Parameters

  • setParams - Function used to manipulate the default parameters.
  • files - The files to be pushed to the server.
Paket.restore(setParams)
Signature: setParams:(PaketRestoreParams -> PaketRestoreParams) -> unit

Restores all packages referenced in either a paket.dependencies or a paket.references file using Paket

Parameters

  • setParams - Function used to manipulate the default parameters.