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

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

BowerHelper

Contains function to run bower tasks

Nested types and modules

TypeDescription
BowerCommand
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

The list of support Bower commands. The Custom alternative can be used for other commands not in the list until they are implemented

BowerParams
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

The Bower parameter type

InstallArgs
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Arguments for the Bower install command

Functions and values

Function or valueDescription
Bower(setParams)
Signature: setParams:(BowerParams -> BowerParams) -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Runs bower with the given modification function. Make sure to have bower installed, you can install bower with nuget or a regular install. To change which Bower executable to use you can set the BowerFilePath parameter with the setParams function.

Parameters

  • setParams - Function used to overwrite the Bower default parameters.

Sample

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
    Target "Web" (fun _ ->
        Bower (fun p ->
                  { p with
                      Command = Install Standard
                      WorkingDirectory = "./src/FakeSimple.Web/"
                  })

        Bower (fun p ->
                  { p with
                      Command = (Run "build")
                      WorkingDirectory = "./src/FAKESimple.Web/"
                  })
    )
bowerFileName
Signature: string

Default paths to Bower

defaultBowerParams
Signature: BowerParams
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Bower default parameters

parse(_arg1)
Signature: _arg1:BowerCommand -> string
parseInstallArgs(_arg1)
Signature: _arg1:InstallArgs -> string
run(bowerParams)
Signature: bowerParams:BowerParams -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.