scripts: Add .hpp as an extension to process (codespell/format)

This commit is contained in:
Ryan Pavlik 2019-12-03 08:52:45 -06:00
parent 808892742b
commit d00fdf5a49
2 changed files with 2 additions and 1 deletions

View file

@ -33,6 +33,7 @@ SCRIPTDIR=$(cd $(dirname $0) && pwd)
\( -name "*.c" \ \( -name "*.c" \
-o -name "*.cpp" \ -o -name "*.cpp" \
-o -name "*.h" \ -o -name "*.h" \
-o -name "*.hpp" \
-o -name "*.sh" \ -o -name "*.sh" \
-o -name "*.md" \ -o -name "*.md" \
-o -name "CMakeLists.txt" \) \ -o -name "CMakeLists.txt" \) \

View file

@ -30,6 +30,6 @@ fi
src/xrt/include \ src/xrt/include \
src/xrt/state_trackers \ src/xrt/state_trackers \
src/xrt/targets \ src/xrt/targets \
\( -name "*.c" -o -name "*.cpp" -o -name "*.h" \) \ \( -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" \) \
-exec ${CLANGFORMAT} -i -style=file \{\} + -exec ${CLANGFORMAT} -i -style=file \{\} +
) )