Json based endpoint orchestration addin for cake build.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
tools
.editorconfig
.gitattributes
.gitignore
GitVersion.yml
LICENSE
README.md
appveyor.yml
build.cake
build.ps1
build.sh

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