diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-09-29 23:17:02 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-09-30 00:37:25 +0300 |
commit | 341ce525f9f73e4342e3faa83286bce81c24fadd (patch) | |
tree | 6cfb485c41ea2f0fb4b72a5c5479be8a1534ca67 /docs/markdown/snippets | |
parent | 1f6d217081294b581edc3dc91f55d2c726417825 (diff) | |
download | meson-clangtidy.tar.gz |
Add clang-tidy target. Closes #2383.clangtidy
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/clangtidy.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/clangtidy.md b/docs/markdown/snippets/clangtidy.md new file mode 100644 index 000000000..816d45fc4 --- /dev/null +++ b/docs/markdown/snippets/clangtidy.md @@ -0,0 +1,8 @@ +## Clang-tidy target + +If `clang-tidy` is installed and the project's source root contains a +`.clang-tidy` (or `_clang-tidy`) file, Meson will automatically define +a `clang-tidy` target that runs Clang-Tidy on all source files. + +If you have defined your own `clang-tidy` target, Meson will not +generate its own target. |