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.Endpoint.
Summary
Creates endpoints by copying all files and directories accoring to the endpoint definition.
- Assembly
- Cake
.Endpoint .dll - Namespace
- Cake
.Endpoint - Containing Type
- EndpointAliases
Syntax
public static void EndpointCreate(this ICakeContext context, IEnumerable<Endpoint> endpoints, EndpointCreatorSettings settings)
Examples
Cake task:
Task("Create")
.Does(() =>
{
var endpoints = DeserializeJsonFromFile<IEnumerable<Endpoint>>( "./endpoints.json" );
EndpointCreate( endpoints, new EndpointCreatorSettings
{
ZipTargetPath = true
} );
});
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
endpoints | IEnumerable |
Required. Endpoint list defining all files and directories. |
settings | Endpoint |
Required. Settings holding additional information when creating endpoints. |
Return Value
Type | Description |
---|---|
void |