Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

Boot

Implements support for boostrapping FAKE scripts. A bootstrapping build.fsx script executes twice (in two stages), allowing to download dependencies with NuGet and do other preparatory work in the first stage, and have these dependencies available in the second stage.

Nested types and modules

TypeDescription
CommandEnvironment

Abstracts over command-line environment features.

CommandHandler

Represents a command line handler.

Config

Configures the boostrapping process.

NuGetDependency

Specifies NuGet package dependencies.

NuGetVersion

Specifies which version of the NuGet package to install.

Stage

Stage of execution for a boot system.

Functions and values

Function or valueDescription
HandlerForArgs(args)
Signature: args:string list -> CommandHandler

Creates the CommandHandler from the

ParseCommandLine(args)
Signature: args:seq<string> -> CommandHandler option

Detects boot-specific commands.

Prepare(config)
Signature: config:Config -> unit

The main function intended to be executed in the BOOT phase of boostrapping scripts.