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
2019-02-22 22:59:10 +01:00

9 lines
256 B
Bash
Executable File

#!/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}