From 7bbcae5939c7f04aa8211af7baca24e0d00e3864 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Thu, 2 Sep 2021 12:32:42 -0700 Subject: Don't clang-format or clang-tidy subprojects It's undesirable to try to format or tidy up subprojects for which we aren't the authority on. Making this change seems to allow one to use "ninja clang-format" within a repo, and not have it reformat all the subprojects. More testing needed, but it's unlikely to hurt things. Tested: Ran "ninja clang-format" and observed _only_ the files in the repo get formatted, not the subproject files. Signed-off-by: Ed Tanous Change-Id: Ifda7dd02b114e404f33c51919a14ca1a2bbd2352 --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 46831ebbd5..4eb9277a71 100644 --- a/.gitignore +++ b/.gitignore @@ -196,6 +196,8 @@ fabric.properties # subproject directories /subprojects/* !/subprojects/*.wrap +!/subprojects/.clang-tidy +!/subprojects/.clang-format # Meson Directories meson-logs -- cgit v1.2.3