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
FakeSection
Hint
InlinePaketDependenciesSection

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
dependenciesFileName
Signature: string
filterValidAssembly(...)
Signature: logLevel:VerboseLevel -> (isSdk:'?19678 * isReferenceAssembly:bool * fi:FileInfo) -> AssemblyData option
Type parameters: '?19678
paketCachingProvider(...)
Signature: config:FakeConfig -> cacheDir:string -> paketApi:Dependencies -> paketDependenciesFile:Lazy<DependenciesFile> -> group:string option -> ICachingProvider
prepareAndRunScript(config)
Signature: config:FakeConfig -> RunResult
Attributes:
[<Obsolete("Use prepareAndRunScriptExt instead")>]
OBSOLETE

Use prepareAndRunScriptExt instead

prepareAndRunScriptExt(config)
Signature: config:FakeConfig -> RunResult * ResultCoreCacheInfo * FakeContext
prepareFakeScript(config)
Signature: config:FakeConfig -> ICachingProvider
readAllLines(r)
Signature: r:TextReader -> seq<string>
restoreDependencies(...)
Signature: config:FakeConfig -> cacheDir:string -> section:FakeSection -> ICachingProvider
retrieveHints config runResult
Signature: config:FakeConfig -> runResult:RunResult -> string list
Attributes:
[<Obsolete("Use retrieveHintsExt instead.")>]
OBSOLETE

Use retrieveHintsExt instead.

retrieveHintsExt context runResult cache
Signature: context:FakeContext -> runResult:RunResult -> cache:ResultCoreCacheInfo -> Hint list
tryFindGroupFromDepsFile(scriptDir)
Signature: scriptDir:string -> FakeSection option
tryReadPaketDependenciesFromScript(...)
Signature: tokenized:TokenizedScript -> cacheDir:string -> scriptPath:string -> FakeSection option
writeFixedPaketDependencies(...)
Signature: scriptCacheDir:string -> f:InlinePaketDependenciesSection -> FakeSection