Context Module
This module tracks the context of the build.
Types
Type | Description |
Functions and values
Function or value | Description |
|
Check and current context is a FAKE execution context and throws `InvalidOperationException` exception when not
|
|
|
Full Usage:
getFakeContext name f
Parameters:
string
-
FAKE execution context data name
f : FakeExecutionContext
-
FAKE execution context
Returns: obj option
|
|
Full Usage:
getFakeExecutionContext e
Parameters:
RuntimeContext
-
FAKE runtime execution context
Returns: FakeExecutionContext option
|
|
Full Usage:
isFakeContext ()
Parameters:
unit
Returns: bool
|
|
Full Usage:
removeExecutionContext ()
Parameters:
unit
|
|
Full Usage:
removeFakeContext name f
Parameters:
string
-
FAKE execution context data name
f : FakeExecutionContext
-
FAKE execution context
Returns: obj option
|
|
|
|
Full Usage:
setExecutionContextFromCommandLineArgs scriptFile
Parameters:
string
|
|
Full Usage:
setFakeContext name v updateF f
Parameters:
string
-
FAKE execution context data name
v : obj
updateF : obj -> obj
-
Callback to call when updating the value
f : FakeExecutionContext
-
FAKE execution context
Returns: obj
|
|