OBSOLETE
Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - module: Fake.Core.Target)
TargetHelper
Contains infrastructure code and helper functions for FAKE's target feature.
Nested types and modules
Type | Description |
BuildError |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.BuildError) Represents build errors |
Target |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - type: Fake.Core.Target.Target) A Target can be run during the build |
Module | Description |
ExitCode |
OBSOLETEPlease open an issue and tell us why you need it! (FAKE0002 - no longer supported) |
Functions and values
Function or value | Description | ||
( <== ) x ys
Signature: x:string -> ys:string list -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - open Fake.Core.TargetOperators)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - open Fake.Core.TargetOperators) Backwards dependencies operator - x is dependent on ys. |
||
ActivateBuildFailureTarget(name)
Signature: name:string -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ActivateBuildFailure)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ActivateBuildFailure) Activates the BuildFailureTarget. |
||
ActivateFinalTarget(name)
Signature: name:string -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ActivateFinal)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ActivateFinal) Activates the FinalTarget. |
||
addExecutedTarget target time
Signature: target:string -> time:TimeSpan -> unit
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case |
||
BuildFailureTarget name body
Signature: name:string -> body:(unit -> unit) -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.CreateBuildFailure)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.CreateBuildFailure) Registers a BuildFailureTarget (not activated). |
||
BuildFailureTargets
Signature: Dictionary<string,bool>
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case BuildFailureTargets - stores build failure targets and if they are activated. |
||
CurrentTarget
Signature: string
Attributes: [<Obsolete("Please open an issue and tell us why you need it! (FAKE0002 - package: Fake.Core.Target - no longer supported)")>] |
OBSOLETEPlease open an issue and tell us why you need it! (FAKE0002 - package: Fake.Core.Target - no longer supported) |
||
CurrentTargetOrder
Signature: string list list
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case |
||
dependencyString(target)
Signature: target:'?10275 TargetTemplate -> string
Type parameters: '?10275 Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Returns the DependencyString for the given target. |
||
determineBuildOrder target parallelJobs
Signature: target:string -> parallelJobs:int -> unit TargetTemplate [] list
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.determineBuildOrder)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.determineBuildOrder) Determines a parallel build order for the given set of targets |
||
doesTargetMeanListTargets(target)
Signature: target:string -> bool
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case |
||
DoNothing()
Signature: unit -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.DoNothing)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.DoNothing) Do nothing - fun () -> () - Can be used to define empty targets. |
||
ExecutedTargets
Signature: HashSet<string>
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case The executed targets. |
||
FinalTarget name body
Signature: name:string -> body:(unit -> unit) -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.CreateFinal)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.CreateFinal) Registers a final target (not activated). |
||
FinalTargets
Signature: Dictionary<string,bool>
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Final Targets - stores final targets and if they are activated. |
||
getAllTargetsNames()
Signature: unit -> string list
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Returns a list with all target names. |
||
GetErrors()
Signature: unit -> BuildError list
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Get Errors - Returns the errors that occured during execution |
||
getTarget(name)
Signature: name:string -> unit TargetTemplate
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.Get)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.Get) Gets a target with the given name from the target dictionary. |
||
listTargets()
Signature: unit -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ListAvailable)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ListAvailable) List all available targets. |
||
PrintDependencyGraph verbose target
Signature: verbose:bool -> target:string -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.PrintDependencyGraph)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.PrintDependencyGraph) Writes a dependency graph. |
||
PrintDotDependencyGraph()
Signature: unit -> unit
Attributes: [<Obsolete("Not yet migrated, waiting for your contribution ;) (FAKE0004 - package: Fake.Core.Target - member: Fake.Core.Target.PrintDotDependencyGraph to be created)")>] |
OBSOLETENot yet migrated, waiting for your contribution ;) (FAKE0004 - package: Fake.Core.Target - member: Fake.Core.Target.PrintDotDependencyGraph to be created) Writes a dependency graph of all targets in the DOT format. |
||
PrintRunningOrder()
Signature: unit -> unit
Attributes: [<Obsolete("Not yet migrated, waiting for your contribution ;) (FAKE0004 - package: Fake.Core.Target - member: Fake.Core.Target.PrintRunningOrder to be created)")>] |
OBSOLETENot yet migrated, waiting for your contribution ;) (FAKE0004 - package: Fake.Core.Target - member: Fake.Core.Target.PrintRunningOrder to be created) |
||
PrintTargets()
Signature: unit -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ListAvailable)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.ListAvailable) Prints all targets. |
||
run(targetName)
Signature: targetName:string -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.Run)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.Run) Runs a target and its dependencies. |
||
runSingleTarget(target)
Signature: target:unit TargetTemplate -> unit
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Runs a single target without its dependencies |
||
runTargets(targets)
Signature: targets:unit TargetTemplate array -> unit
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case |
||
runTargetsParallel count targets
Signature: count:int -> targets:Target [] -> unit
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Runs the given array of targets in parallel using count tasks |
||
softDependencyString(target)
Signature: target:'?10277 TargetTemplate -> string
Type parameters: '?10277 Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Returns the soft DependencyString for the given target. |
||
Target name body
Signature: name:string -> body:(unit -> unit) -> unit
Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.Create)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.Create) Creates a Target. |
||
TargetTemplate(body)
Signature: body:('?10299 -> unit) -> string -> '?10299 -> unit
Type parameters: '?10299 Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case. Note you can create Template with functions that Target.Create using a closure on function parameters + defines dependencies with TargetOperators.")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case. Note you can create Template with functions that Target.Create using a closure on function parameters + defines dependencies with TargetOperators. Creates a TargetTemplate. |
||
TargetTemplateWithDependecies(...)
Signature: dependencies:string list -> ('?10297 -> unit) -> string -> '?10297 -> unit
Type parameters: '?10297 Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case. Note you can create Template with functions that Target.Create using a closure on function parameters + defines dependencies with TargetOperators.")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case. Note you can create Template with functions that Target.Create using a closure on function parameters + defines dependencies with TargetOperators. |
||
TargetTemplateWithDependencies(...)
Signature: dependencies:string list -> body:('?10295 -> unit) -> name:string -> parameters:'?10295 -> unit
Type parameters: '?10295 Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case. Note you can create Template with functions that Target.Create using a closure on function parameters + defines dependencies with TargetOperators.")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case. Note you can create Template with functions that Target.Create using a closure on function parameters + defines dependencies with TargetOperators. Creates a TargetTemplate with dependencies. SampleThe following sample creates 4 targets using TargetTemplateWithDependencies and hooks them into the build pipeline.
val createCompileTarget : name:'a -> strategy:'b -> obj
val name : 'a
val strategy : 'b
val createTestTarget : ('c -> 'd -> 'e -> 'f)
val name : 'c
val dependencies : 'd
val filePattern : 'e
|
||
WriteErrors()
Signature: unit -> unit
Attributes: [<Obsolete("Internal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case")>] |
OBSOLETEInternal state is no more accessible now (FAKE0003 - package: Fake.Core.Target). If you consider, it is still useful, please open an issue and explain your use case Writes a summary of errors reported during build. |
||
WriteTaskTimeSummary(total)
Signature: total:'?10326 -> unit
Type parameters: '?10326 Attributes: [<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.WriteTaskTimeSummary)")>] |
OBSOLETEUse Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.WriteTaskTimeSummary) Writes a build time report. |