FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

Templates Module

Contains basic templating functions. Used in other helpers.

Functions and values

Function or value Description

Templates.load seq

Full Usage: Templates.load seq

Parameters:
    seq : seq<string> - The files to load

Returns: seq<string * seq<string>>

Loads all templates (lazy - line by line!)

seq : seq<string>

The files to load

Returns: seq<string * seq<string>>

Templates.replaceInFiles replacements files

Full Usage: Templates.replaceInFiles replacements files

Parameters:
    replacements : seq<string * string> - The replacement map
    files : seq<string> - The files to replace text in

Replaces the templates with the given replacements

replacements : seq<string * string>

The replacement map

files : seq<string>

The files to replace text in

Templates.replaceKeywords replacements

Full Usage: Templates.replaceKeywords replacements

Parameters:
    replacements : seq<string * string> - The replacement map

Returns: seq<'a * 'b> -> seq<'a * seq<string>>

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

replacements : seq<string * string>

The replacement map

Returns: seq<'a * 'b> -> seq<'a * seq<string>>

Templates.saveFiles

Full Usage: Templates.saveFiles

Returns: seq<string * seq<string>> -> unit

Saves all files (lazy - file by file!)

Returns: seq<string * seq<string>> -> unit