added helper to run clang-tidy

pull/10/head
Falk Werner 6 years ago
parent 24455ecdc0
commit 54b81d82e4

@ -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…
Cancel
Save