Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement --dotGraph command line option. #1469

Merged
merged 2 commits into from
Mar 1, 2017

Conversation

otto-gebb
Copy link
Contributor

With this option specified, FAKE will output a graph of
target dependencies in the DOT format instead of building
anything, provided the build script actually tries to build
the target specified in the command line,
i.e. contains a call like RunTargetOrDefault "Default".

This is how to render the graph from PowerShell:

FAKE.exe build.fsx -dg | & 'C:\Program Files (x86)\Graphviz2.38\bin\dot.exe' -Tpng -o ./graph.png

(For this command to work, Graphviz must be installed.)

See #1468.

With this option specified, FAKE will output a graph of
target dependencies in the DOT format instead of actually building
anything.
@forki
Copy link
Member

forki commented Feb 28, 2017

can we please have a bit of documentation for this?

@forki
Copy link
Member

forki commented Mar 1, 2017

cool thanks!

@forki forki merged commit 7ed0e07 into fsprojects:master Mar 1, 2017
@otto-gebb otto-gebb deleted the dot-graph branch March 1, 2017 17:14
@otto-gebb otto-gebb restored the dot-graph branch March 2, 2017 01:13
forki added a commit that referenced this pull request Mar 2, 2017
Fix documentation glitch introduced in #1469
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants