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
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 |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context |
Return Value
Type | Description |
---|---|
BowerRunner |