FAKE - F# Make


TargetHelper

Contains infrastructure code and helper functions for FAKE's target feature.

Nested types and modules

TypeDescription
BuildError

Represents build errors

Target

A Target can be run during the build

Functions and values

Function or valueDescription
( <== ) x y
Signature: x:string -> y:string list -> unit

Backwards dependencies operator - y is dependend on x.

ActivateBuildFailureTarget name
Signature: name:string -> unit

Activates the BuildFailureTarget.

ActivateFinalTarget name
Signature: name:string -> unit

Activates the FinalTarget.

addExecutedTarget target time
Signature: target:string -> time:TimeSpan -> unit
BuildFailureTarget name body
Signature: name:string -> body:(unit -> unit) -> unit

Registers a BuildFailureTarget (not activated).

BuildFailureTargets
Signature: Dictionary<string,bool>

BuildFailureTargets - stores build failure targets and if they are activated.

dependencyString target
Signature: target:'?6639 TargetTemplate -> string
Type parameters: '?6639

Returns the DependencyString for the given target.

doesTargetMeansListTargets target
Signature: target:string -> bool
DoNothing ()
Signature: unit -> unit

Do nothing - fun () -> () - Can be used to define empty targets.

ExecutedTargets
Signature: HashSet<string>

The executed targets.

FinalTarget name body
Signature: name:string -> body:(unit -> unit) -> unit

Registers a final target (not activated).

FinalTargets
Signature: Dictionary<string,bool>

Final Targets - stores final targets and if they are activated.

getAllTargetsNames ()
Signature: unit -> string list

Returns a list with all target names.

getTarget name
Signature: name:string -> unit TargetTemplate

Gets a target with the given name from the target dictionary.

listTargets ()
Signature: unit -> unit

Prints all available targets.

PrintDependencyGraph verbose target
Signature: verbose:bool -> target:string -> unit

Writes a dependency graph.

PrintTargets ()
Signature: unit -> unit

Prints all targets.

run targetName
Signature: targetName:string -> unit

Runs a target and its dependencies.

Target name body
Signature: name:string -> body:(unit -> unit) -> unit

Creates a Target.

TargetTemplate body
Signature: body:('?6654 -> unit) -> string -> '?6654 -> unit
Type parameters: '?6654

Creates a TargetTemplate.

TargetTemplateWithDependecies (...)
Signature: dependencies:string list -> body:('?6652 -> unit) -> string -> '?6652 -> unit
Type parameters: '?6652

Creates a TargetTemplate with dependencies-

WriteErrors ()
Signature: unit -> unit

Writes a summary of errors reported during build.

WriteTaskTimeSummary total
Signature: total:'?6675 -> unit
Type parameters: '?6675

Writes a build time report.

Fork me on GitHub