Skip to content
Henrik edited this page Aug 21, 2014 · 1 revision

Run static code analysis using NDepend's console application, NDepend.Console.exe.

desc "Perform static analysis"
ndepend :analyze do |cmd|
  cmd.command = "path/to/ndependconsole"
  cmd.project_file = "path/to/ndepend/proj"
  cmd.parameters = ["/silent"]
end

Required Parameters

Command

The location of the NDepend console application.

command = "path/to/ndependconsole"

Project File

The location of the NDepend project file. NDepend requires the full filepath, but we'll take care of that for you.

project_file = "path/to/ndepend/proj"

Optional Parameters

(none)

Guidance

(none)

Clone this wiki locally