-
Notifications
You must be signed in to change notification settings - Fork 0
NDepend Task
The NDependTask allows you to run static code analysis using NDepend’s console application, NDepend.Console.exe.
See How to use NDepend.Console.exe
An example of how you would use the NDependTask
ndepend :analyse do |nd|
nd.command = "C:\\tools\\Ndepend-v2.12/NDepend.Console.exe"
nd.project_file = "src/MyProject/Ndependproject.ndproj"
nd.parameters << "/Silent"
end
Set the location to the NDepend.Console.exe. This can be an absolute or relative path.
Set the location to the NDepend project file. This can be an absolute or relative path.
Other parameters you may want to pass to NDepend.Console.exe.
Please see http://www.ndepend.com/NDependConsole.aspx for other optional paramaters.
This task supports configuration via an external YAML file. For more information, see the yamlconfig page.
This task supports additional command line options, including a .parameters collection for passing in options that are not directly supported. For more information, see the commandline task options documentation.
- Build-Server Integration
- Command Line Task Options
- Configuration
- Custom Tasks
- Logging Options
- Sample Usages
- Task Arguments and Rakefile Parameters
- YAML Configuration
- ASP.NET Compiler - ASP.Net website compiler
- Assembly Info Generator - generate assembly info dynamically
- CSC - C# compiler
- Exec - Execute arbitrary cmd
- Fluent Migrator - Run FluentMigrator on migration library
- ILMerge - Merge dll/exe-s together
- MSBuild and XBuild - Compile a .sln-file or a MsBuild xml-file
- MSpec - Test using MSpec (machine.specifications)
- MSTest - Test using Microsoft Test Framework
- NAnt - Run a NAnt script
- NChurn - Calculate per-file churn
- NCover Console - Run NCover for tests/library
- NCover Reports - Generate a report from a coverage run
- NDepend - Run NDepend to check static code metrics
- NuGet Install - Install NuGet packages
- NuGet Pack - Create NuGet packages
- NuGet Push - Push NuGet packages to official MS repo
- NuGet Publish - Publish NuGet packages
- NUnit - Test using NUnit
- NuSpec - Generate a NuSpec file
- Output - File copying and template expansion
- PLink - SSH into a remote computer and run a command
- SQLCmd - Run a SQL command as a part of your build process
- UnZip - Unzip a directory
- XBuild - Run XBuild (will be merged into MsBuild)
- XUnit - Test using XUnit
- Zip - Zip a directory or files
- Edit the Wiki Locally - How to edit the wiki without using Github's interface
- How to Build Albacore
- How to Contribute