MihaMarkic / Cake.VsixSignTool

Cake AddIn that extends Cake with VsixSignTool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cake.VsixSignTool

A Cake AddIn that extends Cake with VsixSignTool.

cakebuild.net NuGet

Requirements

  • 1.4.0

    • Cake 4.0.0
    • .net 6+
  • 1.3.0:

    • Cake 0.33 or later
  • 1.2.0:

    • Cake 0.28 or later

    • BREAKING change: VSIX tool is now decoupled from adding, you have to add it manually to cake script, like

      #tool nuget:?package=Microsoft.VSSDK.Vsixsigntool

  • 1.0.0: Latest package is referencing Cake 0.22 or later.

Including addin

Including addin in cake script is easy.

#addin "Cake.VsixSignTool"

Usage

To use the addin just add it to Cake call the aliases and configure any settings you want.

#tool nuget:?package=Microsoft.VSSDK.Vsixsigntool
#addin "Cake.VsixSignTool"
Task("Sign")
    .Does(() => 
    {
        VsixSignToolSign(new VsixSignToolSignSettings { 
            File = "test.pfx", 
            Hash="...some hash",
            Password = "PASSWORD"
            }, 
         "MyVsixPackage.vsix");
    });
...

Either string or FilePath can be used to pass target files.

General Notes

This is an initial version and not tested thoroughly. Contributions welcome.

Works only on Windows unless VsixSignTool isn't ported to other OSes.

Follow @mihamarkic

About

Cake AddIn that extends Cake with VsixSignTool

License:MIT License


Languages

Language:C# 81.7%Language:PowerShell 18.3%