From d00fdf5a49bd666189caff641ca212daa1b877eb Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 3 Dec 2019 08:52:45 -0600 Subject: [PATCH] scripts: Add .hpp as an extension to process (codespell/format) --- scripts/codespell-project.sh | 1 + scripts/format-project.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/codespell-project.sh b/scripts/codespell-project.sh index d2c71e983..5da35acc6 100755 --- a/scripts/codespell-project.sh +++ b/scripts/codespell-project.sh @@ -33,6 +33,7 @@ SCRIPTDIR=$(cd $(dirname $0) && pwd) \( -name "*.c" \ -o -name "*.cpp" \ -o -name "*.h" \ + -o -name "*.hpp" \ -o -name "*.sh" \ -o -name "*.md" \ -o -name "CMakeLists.txt" \) \ diff --git a/scripts/format-project.sh b/scripts/format-project.sh index 79ae4443a..4b5a591a9 100755 --- a/scripts/format-project.sh +++ b/scripts/format-project.sh @@ -30,6 +30,6 @@ fi src/xrt/include \ src/xrt/state_trackers \ 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 \{\} + )