BowerRunnerAliases.

Bower(ICakeContext) Method

Summary

Get a Bower runner
Assembly
Cake.Bower.dll
Namespace
Cake.Bower
Containing Type
BowerRunnerAliases

Syntax

public static BowerRunner Bower(this ICakeContext context)

Examples

Run 'bower install'

Cake task:

Task("Bower-FromPath")
    .Does(() =>
{
    Bower.FromPath("./dir-with-bowerjson").Install();
});

Run 'bower install'

Cake task:

Task("Bower-Install")
    .Does(() =>
{
    Bower.Install();
});

Attributes

Type Description
CakePropertyAliasAttribute

Parameters

Name Type Description
context ICakeContext The context

Return Value

Type Description
BowerRunner