1
0
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:
Falk Werner 2019-02-22 16:45:47 +01:00
parent 24455ecdc0
commit 54b81d82e4

8
run-clang-tidy.sh Executable file
View 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}