FAKE - F# Make


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

Loads all templates (lazy - line by line!)

processTemplates replacements files
Signature: replacements:seq<string * string> -> files:seq<string> -> unit

Replaces the templates with the given replacements

replaceKeywords replacements
Signature: replacements:seq<string * string> -> seq<'?12633 * '?12634> -> seq<'?12633 * seq<string>>
Type parameters: '?12633, '?12634

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

saveFiles
Signature: seq<string * seq<string>> -> unit

Saves all files (lazy - file by file!)

Fork me on GitHub