This is part of the Fake.IO.FileSystem module.
NOTE: Maybe this should be an extra module?
Contains basic templating functions. Used in other helpers.
Function or value | Description |
Templates.load(seq)
Signature: seq:seq<string> -> seq<string * seq<string>>
|
Loads all templates (lazy - line by line!)
|
Templates.replaceInFiles(...)
Signature: replacements:seq<string * string> -> files:seq<string> -> unit
|
Replaces the templates with the given replacements
|
Templates.replaceKeywords(replacements)
Signature: replacements:seq<string * string> -> seq<'?9532 * '?9533> -> seq<'?9532 * seq<string>>
Type parameters: '?9532, '?9533
|
Replaces a bunch of the keywords in all files (lazy - line by line!)
|
Templates.saveFiles
Signature: seq<string * seq<string>> -> unit
|
Saves all files (lazy - file by file!)
|