add gui to clang-format

This commit is contained in:
Denis Rouzaud 2024-12-04 11:23:28 +01:00 committed by Nyall Dawson
parent 59c62c2a01
commit 72cbfe5124
3 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,6 @@ repos:
exclude: |
(?x)^(
src/core/.*|
src/gui/.*|
src/3d/.*|
src/server/.*|
tests/code_layout/sipify/sipifyheader.h

View File

@ -120,7 +120,7 @@ for f in $MODIFIED; do
esac
# only run astyle on sipified directories, others are handled by clang-format (see .pre-commit-config.yaml)
if [[ $f =~ ^src/(core|gui|3d|server) ]]; then
if [[ $f =~ ^src/(core|3d|server) ]]; then
m=$f.$REV.prepare
cp "$f" "$m"
ASTYLEPROGRESS=" [$i/$N]" astyle.sh "$f"

View File

@ -40,7 +40,7 @@ for f in $FILES; do
esac
# only run astyle on sipified directories, others are handled by clang-format (see .pre-commit-config.yaml)
if [[ $f =~ ^src/(core|gui|3d|server) ]]; then
if [[ $f =~ ^src/(core|3d|server) ]]; then
m="$f.prepare"
cp "$f" "$m"
astyle.sh "$f"