Skip to content

Cake addin for creating self-contained single binary applications using warp

License

Notifications You must be signed in to change notification settings

cake-contrib/Cake.Warp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake.Warp

All Contributors standard-readme compliant License Appveyor build Travis build Codecov Report NuGet package

Cake addin for creating self-contained single binary applications using warp

Table of Contents

Install

You may start using Cake.Warp as soon as you have imported the addin into you cake build script with the following:

#addin nuget:?package=Cake.Warp&version=0.1.0

Usage

The most basic use of Cake.Warp is by first creating a standalone executable through dotnet publish, then calling Warp to create the self-contained binary.

#addin nuget:?package=Cake.Warp&version=0.1.0

Task("Create-Warp-Binary")
    .Does(() =>
{
    DotNetCorePublish("./src/Cake.Warp.Demo", new DotNetCorePublishSettings {
        Framework         = "netcoreapp2.0",
        RuntimeIdentifier = "linux-x64",
        Configuration     = "Release",
        OutputDirectory   = "./artifacts/output"
    });
    Warp("./artifacts/output",
         "Cake.Warp.Demo", // Must include .exe if creating for windows
         "./artifacts/cake-warp-demo",
         WarpPlatforms.LinuxX64
    );
});

Maintainer

Kim J. Nordmo @AdmiringWorm

Contributing

Cake.Warp follows the Contributor Covenant Code of Conduct.

We accept Pull Requests. Please see the contributing file for how to contribute to Cake.Warp.

Commits to the repository is expected to be signed with a valid GPG key with the contributors email addresses.

Small note: If editing the Readme, please conform to the standard-readme specification.

This project follows the all-contributors specification. Contributions of any kind welcome!

Contributors

Thanks goes to these wonderful people (emoji key):

Kim J. Nordmo
Kim J. Nordmo

🚧

License

MIT License © Kim J. Nordmo