Skip to content

Alias to assist with running SPCAF from Cake build scripts

License

Notifications You must be signed in to change notification settings

juro-org/Cake.SPCAF

Repository files navigation

Cake.SPCAF

standard-readme compliant NuGet package Cake

Alias to assist with running SPCAF from Cake build scripts

Table of Contents

Install

#addin nuget:?package=Cake.SPCAF&version={Version}

Usage

This addin exposes the functionality of SPCAF to the Cake DSL by being a very thin wrapper around its command line interface; this means that you can use Cake.SPCAF in the same way as you would normally use SPCAF CLI.

#addin nuget:?package=Cake.SPCAF&version={Version}

 var wspFile = File(@".\example\solution_example.wsp");
 var outputFile = File(@".\example\outputfilename.html");

Task("SPCAF-Example-Fluent")
    .Does(() =>
    {
        SPCAF(s => s
            .WithXmlReport()
            .WithHtmlReport()
            .WithInput(wspFile)
            .WithOutput(outputFile)
        );
    });

Maintainer

Jürgen Rosenthal-Buroh @JuergenRB

Contributing

Cake.SPCAF follows the Contributor Covenant Code of Conduct.

We accept Pull Requests.

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

License

MIT License © Jürgen Rosenthal-Buroh