diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-03-10 08:41:54 -0500 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2021-03-16 21:01:54 -0400 |
| commit | 0638e38bfc8ef969c7ea9e2005ff051c14dab0f9 (patch) | |
| tree | 41bb16d587cd02728f2bddd6c31e9a425674d95b /docs/markdown/snippets | |
| parent | f55868927721f273640a3ba7a8e703d418a352b6 (diff) | |
| download | meson-0638e38bfc8ef969c7ea9e2005ff051c14dab0f9.tar.gz | |
clangformat: Add clang-format-check target
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/clang-format.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/snippets/clang-format.md b/docs/markdown/snippets/clang-format.md index 8cb88e023..a390d13fd 100644 --- a/docs/markdown/snippets/clang-format.md +++ b/docs/markdown/snippets/clang-format.md @@ -39,5 +39,5 @@ Example of `.clang-format-ignore` file: src/*.cpp ``` -Modified files will be printed on the console which can be used for example by -CI to ensure all files are correctly formatted. +A new target `clang-format-check` has been added. It returns an error code if +any file needs to be reformatted. This is intended to be used by CI. |
