diff options
author | Eric Engestrom <eric@igalia.com> | 2023-05-26 18:21:38 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-05-29 11:57:08 +0000 |
commit | 2f78ec7d379d1a229c0deb341f05381210387930 (patch) | |
tree | 3d21f8d9de4a8b02fc93da0ee1254b3b0525bc50 /.clang-format-include | |
parent | 059ee4ff8d875b545401aa68526e715be46cf293 (diff) |
meson: enable the clang-format target
.clang-format needs to exist in the root of the project for the target
to be generated, but since we don't have a global config it's a dummy,
empty file.
.clang-format-include lists the files (files! not folders) that are to
be formatted.
.clang-format-ignore lists the files to exclude, even if they are in the
include list above. Useful for vendored code for instance.
See https://mesonbuild.com/Code-formatting.html
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23269>
Diffstat (limited to '.clang-format-include')
-rw-r--r-- | .clang-format-include | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format-include b/.clang-format-include new file mode 100644 index 00000000000..91691b22d24 --- /dev/null +++ b/.clang-format-include @@ -0,0 +1,2 @@ +src/**/asahi/**/* +src/**/panfrost/**/* |