Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey there! π
Motivation
I came here looking for the same thing mentioned in #646: a way to output a dependency graph from
xcodegen
project filesWhats in this PR
I added support, like specified in the linked issue.
The following will output a Graphviz to stdout:
xcodegen dump --type graphviz
And this will output to a file:
xcodegen dump --type graphviz --file ~/Desktop/output.viz
When the output is pasted into an online graphviz tool it can produce a target dependency graph based on xcodegen project files.
This was created from the Test Fixture project in
Tests/Fixtures/TestProject/
:What Should We Discuss?
Well, I'm adding a dependency on a graphviz package. It is actively maintained.
Is this worth adding a dependency? π€·ββοΈ