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.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates)

TemplateHelper

Contains basic templating functions. Used in other helpers.

Functions and values

Function or valueDescription
loadTemplates(seq)
Signature: seq:seq<string> -> seq<string * seq<string>>
Attributes:
[<Obsolete("Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.loadTemplates)")>]
OBSOLETE

Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.loadTemplates)

Loads all templates (lazy - line by line!)

processTemplates replacements files
Signature: replacements:seq<string * string> -> files:seq<string> -> unit
Attributes:
[<Obsolete("Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.replaceInFiles)")>]
OBSOLETE

Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.replaceInFiles)

Replaces the templates with the given replacements

replaceKeywords(replacements)
Signature: replacements:seq<string * string> -> seq<'?13456 * '?13457> -> seq<'?13456 * seq<string>>
Type parameters: '?13456, '?13457 Attributes:
[<Obsolete("Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.replaceKeywords)")>]
OBSOLETE

Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.replaceKeywords)

Replaces a bunch of the keywords in all files (lazy - line by line!)

saveFiles
Signature: seq<string * seq<string>> -> unit
Attributes:
[<Obsolete("Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.saveFiles)")>]
OBSOLETE

Use Fake.IO.Templates instead (FAKE0001 - package: Fake.IO.FileSystem - member: Fake.IO.Templates.saveFiles)

Saves all files (lazy - file by file!)