diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-06-16 15:25:33 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-06-16 17:45:39 +0200 |
commit | 5fd66ef6b6276675deb7e6be2d7e4483d2824048 (patch) | |
tree | 3ac271095409333d33ab3612d0e96af88795cea6 /lint/TARGETS | |
parent | 0cf23b92126dc2ae07f1a2e065d9747992275fde (diff) | |
download | justbuild-5fd66ef6b6276675deb7e6be2d7e4483d2824048.tar.gz |
lint: add strict_deps
Add a test verifying that no header files are picked up from an
indirect dependency.
Diffstat (limited to 'lint/TARGETS')
-rw-r--r-- | lint/TARGETS | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lint/TARGETS b/lint/TARGETS index 5e260c79..b3963739 100644 --- a/lint/TARGETS +++ b/lint/TARGETS @@ -5,6 +5,7 @@ [ ["LINT: clang-tidy", "clang-tidy"] , ["LINT: clang-format", "clang-format"] , ["LINT: iwyu", "iwyu"] + , ["LINT: strict_deps", "strict_deps"] ] } , "clang toolchain": @@ -79,4 +80,16 @@ , ["@", "tests", "", "ALL"] ] } +, "LINT: strict_deps": + { "type": ["@", "rules", "lint", "targets"] + , "tainted": ["test"] + , "name": ["strict deps"] + , "linter": ["run_strict_deps.py"] + , "summarizer": ["summary.py"] + , "targets": + [ ["@", "src", "src/buildtool/main", "just"] + , ["@", "src", "src/other_tools/just_mr", "just-mr"] + , ["@", "tests", "", "ALL"] + ] + } } |