mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
added helper to run clang-tidy
This commit is contained in:
8
run-clang-tidy.sh
Executable file
8
run-clang-tidy.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Helper to run clang-tidy to perform some additional checks.
|
||||||
|
|
||||||
|
FILES=`find lib -name '*.c'`
|
||||||
|
INCLUDES="-Iinclude -Ilib `pkg-config fuse3 --cflags` `pkg-config libwebsockets --cflags`"
|
||||||
|
|
||||||
|
clang-tidy -header-filter='.*' ${FILES} -- ${INCLUDES}
|
||||||
Reference in New Issue
Block a user