Skip to content

Commit 970fc4f

Browse files
committed
add objective-c files to astyle
1 parent 85a7d5c commit 970fc4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/astyle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ for f in "$@"; do
9090
continue
9191
;;
9292

93-
*.cpp|*.h|*.c|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H|*.hpp)
93+
*.cpp|*.h|*.c|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H|*.hpp|*.mm)
9494
if [ -x "$f" ]; then
9595
chmod a-x "$f"
9696
fi

scripts/prepare-commit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ for f in $MODIFIED; do
7575
(( i++ )) || true
7676

7777
case "$f" in
78-
*.cpp|*.c|*.h|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H|*.sip|*.py)
78+
*.cpp|*.c|*.h|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H|*.sip|*.py|*.mm)
7979
;;
8080

8181
*)

0 commit comments

Comments
 (0)