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:('?17923 -> '?17924) -> s:'?17923 -> '?17924
Type parameters: '?17923, '?17924

Allows to use Tokens instead of strings

( ?<- ) f str action
Signature: f:('?17926 -> '?17927 -> '?17928) -> str:'?17926 -> action:'?17927 -> '?17928
Type parameters: '?17926, '?17927, '?17928

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