All Projects → Blind-Striker → Cake.Electron.Net

Blind-Striker / Cake.Electron.Net

Licence: MIT license
A Cake AddIn that extends Cake with Electron.NET command tools.

Programming Languages

C#
18002 projects
powershell
5483 projects
shell
77523 projects

Projects that are alternatives of or similar to Cake.Electron.Net

Cake.Incubator
This project contains various experimental but useful extension methods and aliases for Cake
Stars: ✭ 17 (+0%)
Mutual labels:  cake, cake-build
Cake.Xamarin
🍰 🧩 📱 Cake addin for building Xamarin apps
Stars: ✭ 22 (+29.41%)
Mutual labels:  cake, cake-build
Cake.Squirrel
Cake Addin to support Squirrel.Windows
Stars: ✭ 12 (-29.41%)
Mutual labels:  cake, cake-build
Cake
🍰 Cake (C# Make) is a cross platform build automation system.
Stars: ✭ 3,154 (+18452.94%)
Mutual labels:  cake, cake-build
Cake.Curl
🍰↕️ A cross-platform add-in for Cake that allows to transfer files to and from remote URLs using curl.
Stars: ✭ 17 (+0%)
Mutual labels:  cake, cake-build
chess
Chess (game)(♟) built in C# and ASCII art.
Stars: ✭ 20 (+17.65%)
Mutual labels:  cake-build
Cake.Npm
A set of aliases for Cake to help with running Npm (Node Package Manager) commands
Stars: ✭ 18 (+5.88%)
Mutual labels:  cake-build
Linker
🔗 A simple URL shortening website that serves as a nice demo application.
Stars: ✭ 21 (+23.53%)
Mutual labels:  cake-build
cake
Cake is a powerful and flexible Make-like utility tool. Make Tasks Great Again!
Stars: ✭ 64 (+276.47%)
Mutual labels:  cake
przepisy-programisty
Sernik i inne przepisy programisty: precyzyjne, powtarzalne i przepyszne!
Stars: ✭ 117 (+588.24%)
Mutual labels:  cake
AsteroidsWasm
Collection of applications based on a single C# .NET Standard project running in: Blazor Client (WebAssembly), Blazor Server, Electron, WPF, WinForms, Xamarin
Stars: ✭ 136 (+700%)
Mutual labels:  electron-net
cake-vscode
Contains Cake extension for Visual Studio Code.
Stars: ✭ 43 (+152.94%)
Mutual labels:  cake-build
Cake.Coverlet
Coverlet extensions for Cake Build
Stars: ✭ 39 (+129.41%)
Mutual labels:  cake
cake-build
Demonstrates a basic build of a .NET NuGet package using https://cakebuild.net/
Stars: ✭ 22 (+29.41%)
Mutual labels:  cake
pancakeswap-lottery
🥞 A Python client for accessing PancakeSwap Lottery smart contract information through Web3.py
Stars: ✭ 30 (+76.47%)
Mutual labels:  cake
Cake.Docker
Cake AddIn that extends Cake with Docker
Stars: ✭ 45 (+164.71%)
Mutual labels:  cake
ddd-net-ef-core
Self study: DDD, .net core, entity framework core
Stars: ✭ 41 (+141.18%)
Mutual labels:  cake-build
cake-vso
Cake integration for Azure DevOps.
Stars: ✭ 19 (+11.76%)
Mutual labels:  cake-build
Electron.net
Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
Stars: ✭ 6,074 (+35629.41%)
Mutual labels:  electron-net

Cake.Electron.Net

A Cake AddIn that extends Cake with Electron.NET command tools.

cakebuild.net

Stable Nightly
NuGet MyGet

Continuous integration

Build server Platform Build status
Azure Pipelines Ubuntu Build Status
Azure Pipelines macOs Build Status
Azure Pipelines Windows Build Status

Table of Contents

  1. Requirements To Run
  2. Including Add-in
  3. Usage
  4. License
  5. Important Notes

Requirements To Run

Cake.Electron.Net is depends on ElectronNET.CLI cli tool. Make sure you have installed the ElectronNET.CLI packages as global tool:

    dotnet tool install ElectronNET.CLI -g

Including Add-in

Including add-in in cake script is easy.

    #addin "nuget:?package=Cake.Electron.Net"

Usage

Please see Electron.NET for commands usages.

Commands Supported

  • ElectronNetBuild
  • ElectronNetAdd
  • ElectronNetInit
  • ElectronNetStart
  • ElectronNetVersion

Example

using Cake.Electron.Net
using Cake.Electron.Net.Commands.Settings

Task("Build")
.Does(() => {
    ElectronNetVersion(workingDirectory);

    ElectronNetBuildSettings settings = new ElectronNetBuildSettings();
    settings.WorkingDirectory = workingDirectory;
    settings.ElectronTarget = ElectronTarget.Win;
    settings.DotNetConfig = DotNetConfig.Release;

    ElectronNetBuild(settings);
});

Licenses

Licensed under MIT, see LICENSE for the full text.

Important Notes

ElectronNET.API & ElectronNET.CLI Version 5.22.12

Make sure you also have the new Electron.NET CLI 5.22.12 version. This now uses electron-builder and the necessary configuration to build is made in the electron.manifest.json file. In addition, own Electron.NET configurations are stored. Please make sure that your electron.manifest.json file has the following new structure:

{
  "executable": "{{executable}}",
  "splashscreen": {
    "imageFile": ""
  },
  "singleInstance": false,
  "build": {
    "appId": "com.{{executable}}.app",
    "productName": "{{executable}}",
    "copyright": "Copyright © 2019",
    "buildVersion": "1.0.0",
    "compression": "maximum",
    "directories": {
      "output": "../../../bin/Desktop"
    },
    "extraResources": [
      {
        "from": "./bin",
        "to": "bin",
        "filter": ["**/*"]
      }
    ],
    "files": [
      {
        "from": "./ElectronHostHook/node_modules",
        "to": "ElectronHostHook/node_modules",
        "filter": ["**/*"]
      },
      "**/*"
    ]
  }
}

ElectronNET.CLI Version 0.0.9

In the Version 0.0.9 the CLI was not a global tool and needed to be registred like this in the .csproj:

    <ItemGroup>
         <DotNetCliToolReference Include="ElectronNET.CLI" Version="0.0.9" />
    </ItemGroup>

If you still use this version you will need to install Cake.Electron.Net v0.0.9

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].