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

OBSOLETE

use Fake.DotNet.PaketTemplate instead

PaketTemplate

Contains helper functions and task which allow it to generate a paket.template file for Paket

Nested types and modules

TypeDescription
PaketDependency
OBSOLETE

use Fake.DotNet.PaketTemplate instead

PaketDependencyVersion
OBSOLETE

use Fake.DotNet.PaketTemplate instead

PaketDependencyVersionInfo
OBSOLETE

use Fake.DotNet.PaketTemplate instead

PaketFileInfo
OBSOLETE

use Fake.DotNet.PaketTemplate instead

PaketTemplateParams
OBSOLETE

use Fake.DotNet.PaketTemplate instead

Contains the different parameters to create a paket.template file

PaketTemplateType
OBSOLETE

use Fake.DotNet.PaketTemplate instead

Functions and values

Function or valueDescription
DefaultPaketTemplateParams
Signature: PaketTemplateParams
Attributes:
[<Obsolete("use Fake.DotNet.PaketTemplate instead")>]
OBSOLETE

use Fake.DotNet.PaketTemplate instead

The default parameters for the generation of the paket.template

Defaults

  • TemplateFilePath - None
  • TemplateType - Project
  • Id - None
  • Version - None
  • Description - None
  • Title - None
  • Authors - Empty list
  • Owners - Empty list
  • ReleaseNotes - Empty list
  • Summary - Empty list
  • Language - None
  • LicenseUrl - None
  • ProjectUrl - None
  • IconUrl - None
  • Copyright - None
  • Tags - Empty list
  • Files - Empty list
  • References - Empty list
  • FrameworkAssemblies - Empty list
  • Dependencies - Empty list
  • ExcludedDependencies - Empty list
  • RequireLicenseAcceptance - None
  • DevelopmentDependency - None
  • IncludePDBs - None
PaketTemplate(setParams)
Signature: setParams:(PaketTemplateParams -> PaketTemplateParams) -> unit
Attributes:
[<Obsolete("use Fake.DotNet.PaketTemplate instead")>]
OBSOLETE

use Fake.DotNet.PaketTemplate instead

Creates a paket.template file with the given filename Will fail if the file could not be written

Parameters

  • setParams - Function used to manipulate the default PaketTemplateParams value

Sample usage

Target "Create Paket Template" (fun _ -> PaketTemplate (fun p -> { p with TemplateFilePath = Some "./deploytemp/paket.template" Id = Some "My.New.Package" Version = Some "0.0.1-alpha" Authors = ["Me"; "You"; "Someone Other"] Files = [ Include (".//.dll", "/lib/dlls") Exclude "./Foo/bar.dll" Include ("./.jpg", "/images") ] Dependencies = [ "Paket1.FOO", AnyVersion "Paket2.BAR", GreaterOrEqual CURRENTVERSION "Paket3.BAZ", GreaterOrEqualSafe LOCKEDVERSION "Paket4.BOO", GreaterOrEqual (Version "1.2.3") ] } ) )