-
Notifications
You must be signed in to change notification settings - Fork 71
NDependTask
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.