BowerRunner.

Cache(BowerCacheSettings) Method

Summary

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

Syntax

public IBowerRunnerCommands Cache(BowerCacheSettings settings)

Examples

Run 'bower cache'

Task("Bower")
    .Does(() =>
{
    var settings = new BowerCacheSettings();
    settings.Clean();
    Bower.Install(settings));
});

Parameters

Name Type Description
settings BowerCacheSettings options when running 'bower cache'

Return Value

Type Description
IBowerRunnerCommands