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
Installs client side libraries using the specified settings.
- Assembly
- Cake
.LibMan .dll - Namespace
- Cake
.LibMan - Containing Type
- LibManInstallAliases
Syntax
public static void LibManInstall(this ICakeContext context, LibManInstallSettings settings)
Examples
Installs client side libraries in a specific working directory ('libman install')
var settings = new LibManInstallSettings
{
WorkingDirectory = @"c:\myproject",
Verbosity = LibManVerbosity.Detailed,
Provider = CdnProvider.jsdelivr,
Library = "[email protected]",
Destination = "wwwroot/lib/jquery",
Files =
{
"dist/jquery.min.js",
"dist/jquery.min.map"
},
};
LibManInstall(settings);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | Lib |
The settings. |
Return Value
Type | Description |
---|---|
void |