FAKE - F# Make


AdditionalSyntax

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

Functions and values

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

Allows to use Tokens instead of strings

( ?<- ) f str action
Signature: f:('?8822 -> '?8823 -> '?8824) -> str:'?8822 -> action:'?8823 -> '?8824
Type parameters: '?8822, '?8823, '?8824

Allows to use Tokens instead of strings for TargetNames

( <=> ) 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

addDependenciesOnSameLevel (...)
Signature: target:string -> dependency:string -> unit

Specifies that two targets have the same dependencies

And x y
Signature: x:'?8829 -> y:'?8829 list -> '?8829 list
Type parameters: '?8829

Appends the dependency to the list of dependencies

Dependency x
Signature: x:'?8827 -> '?8827 list
Type parameters: '?8827

Converts a dependency into a list

For x y
Signature: x:string -> y:string list -> unit

Allows to use For? syntax for Dependencies

Run targetName
Signature: targetName:string -> unit

Runs a Target and its dependencies

RunParameterTargetOrDefault (...)
Signature: parameterName:string -> defaultTarget:string -> unit

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

RunTarget ()
Signature: unit -> unit

Runs the target given by the target parameter

RunTargetOrDefault defaultTarget
Signature: defaultTarget:string -> unit

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

targetsAreOnSameLevel x y
Signature: x:string -> y:string -> unit

Specifies that two targets are on the same level of execution

Fork me on GitHub