This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Bower.
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 |