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

Tools

Functions and values

Function or valueDescription
Tools.findToolFolderInSubPath(...)
Signature: toolname:string -> defaultPath:string -> string

Looks for a tool in all subfolders - returns the folder where the tool was found.

Tools.findToolInSubPath(...)
Signature: toolname:string -> defaultPath:string -> string

Looks for a tool first in its default path, if not found the in ./packages/ and then in all subfolders of the root folder - returns the tool file name.

Tools.tryFindToolFolderInSubPath(...)
Signature: toolname:string -> string option

Looks for a tool in all subfolders - returns the folder where the tool was found or None if not found.