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' 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 |
options when running 'bower install' |
Return Value
Type | Description |
---|---|
IBowerRunnerCommands |