mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
added helper to run clang-tidy
This commit is contained in:
parent
24455ecdc0
commit
54b81d82e4
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}
|
Loading…
Reference in New Issue
Block a user