Add circular dependencies script

This commit is contained in:
Pieter Wuille
2018-05-02 11:12:37 -07:00
parent ffa86af453
commit a7b295e91e
2 changed files with 90 additions and 0 deletions

View File

@@ -194,3 +194,14 @@ It will do the following automatically:
- add missing translations to the build system (TODO)
See doc/translation-process.md for more information.
circular-dependencies.py
========================
Run this script from the root of the source tree (`src/`) to find circular dependencies in the source code.
This looks only at which files include other files, treating the `.cpp` and `.h` file as one unit.
Example usage:
cd .../src
../contrib/devtools/circular-dependencies.py {*,*/*,*/*/*}.{h,cpp}