Only test format when it is wanted
This commit is contained in:
parent
a6fcdec0f8
commit
6171c9d45d
2 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ for file in $CHANGED_FILES
|
|||
do
|
||||
[ -e "$file" ] || continue
|
||||
case "$file" in
|
||||
src/libs/*) continue ;;
|
||||
*.cpp|*.h)
|
||||
echo Checking "$file"
|
||||
clang-format -i "$file"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue