README.md |
---|
Proof-of-concept using custom package types for Cake Addin, Module, and Recipe.
Type | NuGet package | Package type | Stable | Prerelease |
---|---|---|---|---|
Addin | Cake.PackageType.Addin | CakeAddin |
||
Module | Cake.PackageType.Module | CakeModule |
||
Recipe | Cake.PackageType.Recipe | CakeRecipe |
Call the Hello()
alias in order to run the add-in using the default settings:
#addin nuget:?package=Cake.PackageType.Addin&version=0.1.0
Task("Example")
.Does(() =>
{
Hello();
});
RunTarget("Example");
Use the hello
scheme in a #tool
directive in order to execute the module:
#module nuget:?package=Cake.PackageType.Module&version=0.1.0
#tool hello:?package=MyAwesomePackage&version=1.2.3
Call the SayHello(string name)
and SayBye(string name)
helper methods included in the recipe:
#load nuget:?package=Cake.PackageType.Recipe&version=0.1.0
Task("Example")
.Does(() =>
{
SayHello("Augusto");
SayBye("Augusto");
});
RunTarget("Example");
In the sample folder you can find working examples using different versions of Cake Tool and Frosting.
Click on the Releases tab on GitHub.
Copyright © 2021 C. Augusto Proiete & Contributors - Provided under the MIT License.