Target Module
FAKE Target module contains tasks to define and run targets.
Types and nested modules
Type/Module | Description |
Functions and values
Function or value | Description |
Full Usage:
Target.activateBuildFailure name
Parameters:
string
-
The target name
|
|
Full Usage:
Target.activateFinal name
Parameters:
string
-
The target name
|
|
|
|
Full Usage:
Target.createBuildFailure name body
Parameters:
string
-
The target name
body : TargetParameter -> unit
-
The target body
|
|
Full Usage:
Target.createFinal name body
Parameters:
string
-
The target name
body : TargetParameter -> unit
-
The target body
|
|
Full Usage:
Target.deactivateBuildFailure name
Parameters:
string
-
The target name
|
|
Full Usage:
Target.deactivateFinal name
Parameters:
string
-
The target name
|
|
Full Usage:
Target.description text
Parameters:
string
-
The description of the next target
|
|
|
|
Full Usage:
Target.getArguments ()
Parameters:
unit
Returns: string array option
|
Allows to retrieve the arguments passed into the current execution,
when
This function should be used at the start of your fake script
Alternatively, you can use
|
Full Usage:
Target.initEnvironment ()
Parameters:
unit
|
This function should be used at the start of your fake script
see issues #2283
Alternatively, you can use
|
Full Usage:
Target.listAvailable ()
Parameters:
unit
|
|
Full Usage:
Target.printDependencyGraph verbose target
Parameters:
bool
-
Whether to print verbose output or not.
target : string
-
The target for which the dependencies should be printed.
|
|
Full Usage:
Target.raiseIfError context
Parameters:
OptionalTargetContext
-
The target context
|
|
Full Usage:
Target.removeCollectStack
Returns: unit -> unit
|
|
Full Usage:
Target.removeLastDescription
Returns: unit -> unit
|
|
Full Usage:
Target.run parallelJobs targetName args
Parameters:
int
targetName : string
-
The target name
args : string list
-
The arguments list
|
|
Full Usage:
Target.runOrDefault defaultTarget
Parameters:
string
|
|
Full Usage:
Target.runOrDefaultWithArguments defaultTarget
Parameters:
string
|
|
Full Usage:
Target.runOrList ()
Parameters:
unit
|
|
Full Usage:
Target.runSimple name args
Parameters:
string
-
The final target name
args : string list
-
The target arguments
Returns: TargetResult
|
This simply runs the function of a target without doing anything (like tracing, stop watching or adding it to the results at the end)
|
Full Usage:
Target.runSimpleWithContext name ctx
Parameters:
string
-
The target name
ctx : TargetContext
-
The context object
Returns: TargetResult
|
This simply runs the function of a target without doing anything (like tracing, stop watching or adding it to the results at the end)
|
Full Usage:
Target.setCollectStack
Returns: bool -> unit
|
|
Full Usage:
Target.setLastDescription
Returns: string -> unit
|
|
Full Usage:
Target.setPrintStackTraceOnError
Returns: bool -> unit
|
|
Full Usage:
Target.updateBuildStatus context
Parameters:
OptionalTargetContext
-
The target context
|
Updates build status based on
|