aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/README.md
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-05-02 11:12:37 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-05-16 16:55:47 -0700
commita7b295e91e4917495efe59948bae0ea554b7674c (patch)
tree98a1cd4b61d53ed5d613a2f5d81ce72bce629d36 /contrib/devtools/README.md
parentffa86af45363d6fb09c67e6b9a20b3e895791d6a (diff)
downloadbitcoin-a7b295e91e4917495efe59948bae0ea554b7674c.tar.xz
Add circular dependencies script
Diffstat (limited to 'contrib/devtools/README.md')
-rw-r--r--contrib/devtools/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/devtools/README.md b/contrib/devtools/README.md
index 15ee8a3959..7ac8aa39d3 100644
--- a/contrib/devtools/README.md
+++ b/contrib/devtools/README.md
@@ -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}