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

FakeRuntime

Nested types and modules

TypeDescription
AssemblyData
DependencyFile
PrepareInfo
PreparedDependencyType
TryPrepareInfo

Functions and values

Function or valueDescription
createConfig(...)
Signature: logLevel:VerboseLevel -> fsiOptions:string list -> scriptPath:string -> scriptArgs:string list -> onErrMsg:(string -> unit) -> onOutMsg:(string -> unit) -> useCache:bool -> restoreOnlyGroup:bool -> FakeConfig
createConfigSimple(...)
Signature: logLevel:VerboseLevel -> fsiOptions:string list -> scriptPath:string -> scriptArgs:string list -> useCache:bool -> restoreOnlyGroup:bool -> FakeConfig
paketCachingProvider(...)
Signature: config:FakeConfig -> cacheDir:string -> paketApi:Dependencies -> paketDependenciesFile:Lazy<DependenciesFile> -> group:string option -> ICachingProvider
prepareFakeScript(config)
Signature: config:FakeConfig -> PrepareInfo
restoreAndCreateCachingProvider(p)
Signature: p:PrepareInfo -> ICachingProvider
runScript(preparedScript)
Signature: preparedScript:PrepareInfo -> RunResult * ResultCoreCacheInfo * FakeContext
tryPrepareFakeScript(config)
Signature: config:FakeConfig -> TryPrepareInfo

Doesn't create the .fake folder for this file if we don't detect a fake script