Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target

AdditionalSyntax

Provides functions and operators to deal with FAKE targets and target dependencies.

Functions and values

Function or valueDescription
( ? ) f s
Signature: f:('?10225 -> '?10226) -> s:'?10225 -> '?10226
Type parameters: '?10225, '?10226 Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(?)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(?)

Allows to use Tokens instead of strings

( ?<- ) f str action
Signature: f:('?10228 -> '?10229 -> '?10230) -> str:'?10228 -> action:'?10229 -> '?10230
Type parameters: '?10228, '?10229, '?10230 Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(?<-)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(?<-)

Allows to use Tokens instead of strings for TargetNames

( ?=> ) x y
Signature: x:string -> y:string -> string
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(?=>)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(?=>)

Defines a soft dependency. x must run before y, if it is present, but y does not require x to be run.

( <=? ) y x
Signature: y:string -> x:string -> string
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(<=?)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(<=?)

Defines a soft dependency. x must run before y, if it is present, but y does not require x to be run.

( <=> ) x y
Signature: x:string -> y:string -> string
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(<=>)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(<=>)

Defines that x and y are not dependent on each other but y is dependent on all dependencies of x.

( =?> ) x (y, condition)
Signature: x:string -> (y:string * condition:bool) -> string
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(=?>)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(=?>)

Defines a conditional dependency - y is dependent on x if the condition is true

( ==> ) x y
Signature: x:string -> y:string -> string
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(==>)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.TargetOperators.(==>)

Defines a dependency - y is dependent on x

addDependenciesOnSameLevel(...)
Signature: target:string -> dependency:string -> 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")>]
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

Specifies that two targets have the same dependencies

addSoftDependenciesOnSameLevel(...)
Signature: target:string -> dependency:string -> 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")>]
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

Specifies that two targets have the same dependencies

And x y
Signature: x:'?10235 -> y:'?10235 list -> '?10235 list
Type parameters: '?10235 Attributes:
[<Obsolete("Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)")>]
OBSOLETE

Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)

Appends the dependency to the list of dependencies

Dependency(x)
Signature: x:'?10233 -> '?10233 list
Type parameters: '?10233 Attributes:
[<Obsolete("Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)")>]
OBSOLETE

Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)

Converts a dependency into a list

For x y
Signature: x:string -> y:string list -> unit
Attributes:
[<Obsolete("Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)")>]
OBSOLETE

Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)

Allows to use For? syntax for Dependencies

Run(targetName)
Signature: targetName:string -> unit
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.run)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.run)

Runs a Target and its dependencies

RunParameterTargetOrDefault(...)
Signature: parameterName:string -> defaultTarget:string -> unit
Attributes:
[<Obsolete("Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)")>]
OBSOLETE

Please open an issue and tell us why you need it! (FAKE0002 - no longer supported)

Runs the target given by the build script parameter or the given default target

RunTarget()
Signature: unit -> unit
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.runOrDefault with "" default target)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.runOrDefault with "" default target)

Runs the target given by the target parameter

RunTargetOrDefault(defaultTarget)
Signature: defaultTarget:string -> unit
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.runOrDefault)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.runOrDefault)

Runs the target given by the target parameter or the given default target

RunTargetOrListTargets()
Signature: unit -> unit
Attributes:
[<Obsolete("Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.runOrList)")>]
OBSOLETE

Use Fake.Core.Target instead (FAKE0001 - package: Fake.Core.Target - member: Fake.Core.Target.runOrList)

Runs the target given by the target parameter or lists the available targets

targetsAreOnSameLevel x y
Signature: x:string -> y:string -> 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")>]
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

Specifies that two targets are on the same level of execution