Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules 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
GetDependenciesForReferencesFile(...)
Signature: referencesFile:string -> (string * string) []

Returns the dependencies from specified paket.references file

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.
PaketPackDefaults()
Signature: unit -> PaketPackParams

Paket pack default parameters

PaketPushDefaults()
Signature: unit -> PaketPushParams

Paket push default parameters

PaketRestoreDefaults()
Signature: unit -> PaketRestoreParams

Paket restore default parameters

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.
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.