BowerRunner.

Install(Action<BowerInstallSettings>) Method

Summary

execute 'bower install' with options
Assembly
Cake.Bower.dll
Namespace
Cake.Bower
Containing Type
BowerRunner

Syntax

public IBowerRunnerCommands Install(Action<BowerInstallSettings> configure = null)

Examples

Run 'bower install'

Task("Bower-FromPath")
    .Does(() =>
{
    Bower.Install(s => s.UseWorkingDirectory("./dir-with-bower.json/");
});

Run 'bower install'

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

Parameters

Name Type Description
configure Action<BowerInstallSettings> options when running 'bower install'

Return Value

Type Description
IBowerRunnerCommands