Skip to content

Commit

Permalink
+clang-format regex to ext list for unix
Browse files Browse the repository at this point in the history
  • Loading branch information
martysama0134 committed Sep 11, 2018
1 parent 57821f4 commit 51c4bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-format.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
find . -regex '.*\.\(cpp\|h\|hpp\|cc\|c\)' -exec clang-format -style=file -verbose -i {} \;
find . -type f \( -iname \*.cpp -o -iname \*.h -o -iname \*.hpp -o -iname \*.cc -o -iname \*.c \) -exec clang-format -style=file -verbose -i {} \;

0 comments on commit 51c4bde

Please sign in to comment.