The JetBrains Inspect Code support for the Cake.Issues addin for Cake allows you to read issues logged by JetBrains Inspect Code. This addin provides the aliases for reading JetBrains Inspect Code issues and providing them to the Cake.Issues addin. It also requires the core Cake.Issues addin. There are also additional addins for generating reports or posting issues to pull requests. See the Project Site for an overview of the whole ecosystem of addins for working with issues in Cake scripts. NOTE: This is the version of the addin compatible with Cake Script Runners. For addin compatible with Cake Frosting see Cake.Frosting.Issues.InspectCode.
$ dotnet add package Cake.Issues.InspectCodeNOTE: This is the version of the addin compatible with Cake .NET Tool. For addin compatible with Cake Frosting see Cake.Frosting.Issues.InspectCode.
The JetBrains Inspect Code support for the Cake.Issues addin for Cake allows you to read issues logged by JetBrains Inspect Code.
Cake.Issues redefines issue management within the Cake build system by offering a comprehensive, universal, and extensible solution. The unique capabilities of the addins empower development teams to enforce coding standards, generate insightful reports, seamlessly incorporate various linting tools, and streamlining the integration with pull requests. With its modular architecture and extensive set of aliases, Cake.Issues provides a future-proof infrastructure for issue management in Cake builds, fostering a more efficient and adaptable development process.
For more information and extensive documentation see the Cake.Issues website. For general information about the Cake build automation system see the Cake website.
Integrating Cake.Issues into your Cake build is straightforward. With minimal setup, teams can enjoy the benefits of enhanced code quality management seamlessly integrated into their existing build pipeline.
After adding the addin the log file of a Inspect Code run can be parsed:
Task("Analyze-Project").Does(() =>
{
var logPath = @"c:\build\inspectcode.xml";
var repoRootPath = @"c:\repo";
// Run InspectCode.
var settings = new InspectCodeSettings() {
OutputFile = logPath
};
InspectCode(repoRootPath.CombineWithFilePath("MySolution.sln"), settings);
// Read Issues.
var issues =
ReadIssues(
InspectCodeIssuesFromFilePath(logPath, docRootPath),
repoRootPath);
Information("{0} issues are found.", issues.Count());
});
For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.
Contributions are welcome. See Contribution Guidelines.
Binary distributions for some addins contain third-party code which is licensed under its own respective license. See LICENSE for details.