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

TargetOperators

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

Functions and values

Function or valueDescription
( ? ) f s
Signature: f:('?17958 -> '?17959) -> s:'?17958 -> '?17959
Type parameters: '?17958, '?17959

Allows to use Tokens instead of strings

( ?<- ) f str action
Signature: f:('?17961 -> '?17962 -> '?17963) -> str:'?17961 -> action:'?17962 -> '?17963
Type parameters: '?17961, '?17962, '?17963

Allows to use Tokens instead of strings for TargetNames

( ?=> ) x y
Signature: x:string -> y:string -> string

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

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 list -> unit
( <=> ) x y
Signature: x:string -> y:string -> string

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

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

( ==> ) x y
Signature: x:string -> y:string -> string

Defines a dependency - y is dependent on x