aboutsummaryrefslogtreecommitdiff
path: root/scripts/check_code_format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check_code_format.sh')
-rwxr-xr-xscripts/check_code_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check_code_format.sh b/scripts/check_code_format.sh
index 0a9a50ae..dde43794 100755
--- a/scripts/check_code_format.sh
+++ b/scripts/check_code_format.sh
@@ -22,7 +22,7 @@ RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
-FILES_TO_CHECK=$(git diff --name-only master | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$")
+FILES_TO_CHECK=$(git diff --name-only master | grep -v -E "^include/vulkan" | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$")
if [ -z "${FILES_TO_CHECK}" ]; then
echo -e "${GREEN}No source code to check for formatting.${NC}"