Skip to content

Commit 94e0b12

Browse files
authored
Add project dependency graph visualization (mobile-dev-inc#1834)
* add project graph generator * add dep graph * remove cruft
1 parent 7cdadaa commit 94e0b12

File tree

2 files changed

+225
-0
lines changed

2 files changed

+225
-0
lines changed

CONTRIBUTING.md

+8
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ Keep the following things in mind when working on a PR:
8989
- For that reason, `MaestroCommand` class should be JSON-serializable (and is a reason we haven't moved to `sealed class`)
9090
- We do not use mocks. Use fakes instead (e.g. `FakeDriver`).
9191

92+
This graph (generated with [`./gradlew :generateDependencyGraph`][graph_plugin] in [PR #1834][pr_1834]) may be helpful
93+
to visualize relations between subprojects:
94+
95+
![Project dependency graph](assets/project-dependency-graph.svg)
96+
9297
## How to
9398

9499
### Add new command
@@ -101,3 +106,6 @@ Follow these steps:
101106
- Handle command in `Orchestra` class.
102107
- If this is a new functionality, you might need to add new methods to `Maestro` and `Driver` APIs.
103108
- Add a new test to `IntegrationTest`.
109+
110+
[graph_plugin]: https://github.com/vanniktech/gradle-dependency-graph-generator-plugin
111+
[pr_1834]: https://github.com/mobile-dev-inc/maestro/pull/1834

assets/project-dependency-graph.svg

+217
Loading

0 commit comments

Comments
 (0)