Skip to content
Json based endpoint orchestration addin for cake build.
Branch: master
Clone or download

README.md

NuGet Build status

Usage

In order to use this Cake addin you need to add it to your build.cake file in the following way

#addin Cake.Endpoint

After that the following Cake aliases are available to you.

EndpointCreate

Copies files and directories defined within endpoint definition.

Task( "Create" )
  .Does( () =>
{
  EndpointCreate( new Endpoint()[] );
} );

Providing an endpoint

An endpoint should be provided within the solution through an endpoints.json file. The file can be deserialized using the Cake.Json addin in following way:

var endpoint = DeserializeJsonFromFile<Endpoint>( "./endpoint.json" );

Example endpoint file

Development

Just execute the following commands after you have commited your work.

$> git tag <semver>
$> .\build.ps1 -target pack
$> git push origin master --tags

Then publish the resulting .\Cake.Endpoint.<semver>.nupkg on nuget.org

You can’t perform that action at this time.