Skip to content

Show Build Graph

Roman Kuzmin edited this page Apr 8, 2015 · 12 revisions

The script Show-BuildGraph.ps1 which is included in the package visualizes build script task dependencies using dot, the tool from Graphviz.

For example, here is the build task graph created for the build script of this project. Note that tasks with own code are shown as boxes, tasks that simply trigger other tasks are shown as ovals.

Invoke-Build

This example (Mdbc's build script) shows some more features provided by Show-BuildGraph.ps1:

  • Task call numbers can be shown.
  • Call edges can go from top to bottom.
  • Safe references are shown as dotted edges.

Mdbc