1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-28 11:10:47 +00:00
falk-werner_webfuse-provider/run-clang-tidy.sh

9 lines
256 B
Bash
Raw Normal View History

2019-02-22 15:45:47 +00:00
#!/bin/bash
#
# Helper to run clang-tidy to perform some additional checks.
2019-02-22 21:59:10 +00:00
FILES=$(find lib -name '*.c')
INCLUDES="-Iinclude -Ilib $(pkg-config fuse3 --cflags) $(pkg-config libwebsockets --cflags)"
2019-02-22 15:45:47 +00:00
clang-tidy -header-filter='.*' ${FILES} -- ${INCLUDES}