This is part of the Fake.Core.Target module.

WithContext

Run functions which don't throw and return the context after all targets have been executed.

Functions and values

Function or valueDescription
run parallelJobs targetName args
Signature: parallelJobs:int -> targetName:string -> args:string list -> OptionalTargetContext

Runs a target and its dependencies and returns an OptionalTargetContext

runOrDefault(defaultTarget)
Signature: defaultTarget:string -> OptionalTargetContext

Runs the command given on the command line or the given target when no target is given & get context

runOrDefaultWithArguments(defaultTarget)
Signature: defaultTarget:string -> OptionalTargetContext

Runs the command given on the command line or the given target when no target is given & get context

runOrList()
Signature: unit -> OptionalTargetContext

Runs the target given by the target parameter or lists the available targets & get context