summaryrefslogtreecommitdiff
path: root/lint/TARGETS
blob: 08598edc1f009c6a5150ac18897b671bf38f04ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{ "":
  { "type": "install"
  , "tainted": ["lint", "test"]
  , "deps": ["LINT"]
  , "files": {"REPORT": "lint-report", "format.diff": "format.diff"}
  }
, "LINT":
  { "type": "install"
  , "tainted": ["lint", "test"]
  , "dirs":
    [ ["LINT: clang-tidy", "clang-tidy"]
    , ["LINT: clang-format", "clang-format"]
    , ["LINT: iwyu", "iwyu"]
    , ["LINT: strict_deps", "strict_deps"]
    ]
  }
, "clang toolchain":
  { "type": "configure"
  , "arguments_config": ["TOOLCHAIN_CONFIG"]
  , "target": ["@", "clang", "", "toolchain"]
  , "config":
    { "type": "`"
    , "$1":
      { "TOOLCHAIN_CONFIG":
        { "type": ","
        , "$1":
          { "type": "map_union"
          , "$1":
            [ { "type": "var"
              , "name": "TOOLCHAIN_CONFIG"
              , "default": {"type": "empty_map"}
              }
            , {"type": "'", "$1": {"INCLUDE_LINTER": true}}
            ]
          }
        }
      }
    }
  }
, "clang": {"type": "install", "dirs": [["clang toolchain", "toolchain"]]}
, "LINT: clang-tidy":
  { "type": ["@", "rules", "lint", "targets"]
  , "tainted": ["test"]
  , "name": ["clang-tidy"]
  , "linter": ["run_clang_tidy.py"]
  , "summarizer": ["summary.py"]
  , "config": [["@", "src", "", ".clang-tidy"], "clang"]
  , "targets":
    [ ["@", "src", "src/buildtool/main", "just"]
    , ["@", "src", "src/other_tools/just_mr", "just-mr"]
    , ["@", "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"]
  }
, "iwyu config":
  {"type": "install", "files": {"iwyu-mapping": "iwyu-mapping.imp"}}
, "LINT: iwyu":
  { "type": ["@", "rules", "lint", "targets"]
  , "tainted": ["test"]
  , "name": ["iwyu"]
  , "linter": ["run_iwyu.py"]
  , "summarizer": ["summary.py"]
  , "config": ["iwyu config", "clang"]
  , "targets":
    [ ["@", "src", "src/buildtool/main", "just"]
    , ["@", "src", "src/other_tools/just_mr", "just-mr"]
    , ["@", "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"]
    ]
  }
, "lint-report":
  { "type": "generic"
  , "tainted": ["lint", "test"]
  , "cmds": ["./combined-report.py"]
  , "outs": ["report"]
  , "deps": ["LINT", "combined-report.py"]
  }
}