BowerRunner.

Install(string, BowerInstallSettings) Method

Summary

execute 'bower install' for a particular package
Assembly
Cake.Bower.dll
Namespace
Cake.Bower
Containing Type
BowerRunner

Syntax

public IBowerRunnerCommands Install(string package, BowerInstallSettings settings)

Examples

Run 'bower install'

Task("Bower")
    .Does(() =>
{
    var settings = new BowerInstallSettings();
    settings.WithSave();
    Bower.Install("jquery", settings));
});

Parameters

Name Type Description
package string endpoint/package to install when using 'bower install'
settings BowerInstallSettings options when running 'bower install'

Return Value

Type Description
IBowerRunnerCommands