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.LibMan.
Summary
Clears library cache using the specified configurator
LibManCacheCleanSettings.
- Assembly
- Cake
.LibMan .dll - Namespace
- Cake
.LibMan - Containing Type
- Lib
Man Cache Clean Aliases
Syntax
public static void LibManCacheClean(this ICakeContext context, Action<LibManCacheCleanSettings> configurator)
Examples
Clears library cache using the via LibMan using the settings returned by a configurator. ('libman cache clean')
LibManCacheClean(settings =>
{
settings
.WithProvider(CdnProvider.Default)
.WithVerbosity(LibManVerbosity.Detailed)
.FromPath(@"c:\myproject");
});
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| configurator | Action |
The settings configurator. |
Return Value
| Type | Description |
|---|---|
| void |
