summaryrefslogtreecommitdiff
path: root/lint/TARGETS
diff options
context:
space:
mode:
Diffstat (limited to 'lint/TARGETS')
-rw-r--r--lint/TARGETS25
1 files changed, 24 insertions, 1 deletions
diff --git a/lint/TARGETS b/lint/TARGETS
index a5456c85..0a52a37d 100644
--- a/lint/TARGETS
+++ b/lint/TARGETS
@@ -1,7 +1,10 @@
{ "":
{ "type": "install"
, "tainted": ["lint", "test"]
- , "dirs": [["LINT: clang-tidy", "clang-tidy"]]
+ , "dirs":
+ [ ["LINT: clang-tidy", "clang-tidy"]
+ , ["LINT: clang-format", "clang-format"]
+ ]
}
, "clang toolchain":
{ "type": "configure"
@@ -40,4 +43,24 @@
, ["@", "tests", "", "ALL"]
]
}
+, "LINT: clang-format":
+ { "type": ["@", "rules", "lint", "targets"]
+ , "tainted": ["test"]
+ , "name": ["clang-format"]
+ , "linter": ["run_clang_format.py"]
+ , "summarizer": ["summary.py"]
+ , "config": [["@", "src", "", ".clang-format"], "clang"]
+ , "targets":
+ [ ["@", "src", "src/buildtool/main", "just"]
+ , ["@", "src", "src/other_tools/just_mr", "just-mr"]
+ , ["@", "tests", "", "ALL"]
+ ]
+ }
+, "format.diff":
+ { "type": "generic"
+ , "tainted": ["lint", "test"]
+ , "cmds": ["./create-diff.py"]
+ , "outs": ["format.diff"]
+ , "deps": ["LINT: clang-format", "create-diff.py"]
+ }
}