1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/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}