fix: only run clang-tidy on .cpp files

This commit is contained in:
outfoxxed 2023-10-27 04:19:45 -07:00
parent 452034ef6b
commit 085b228439
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -7,7 +7,7 @@ check-format:
# the lint ends up running over a large amount of llvm surface area and it takes considerably # the lint ends up running over a large amount of llvm surface area and it takes considerably
# longer than the extra build time from using release mode # longer than the extra build time from using release mode
lint: release lint: release
clang-tidy src/** --load=build/release/libtidyfox.so clang-tidy src/**.cpp --load=build/release/libtidyfox.so
build: build:
cmake -GNinja -B build/debug \ cmake -GNinja -B build/debug \