diff options
author | Gil <mcg@google.com> | 2017-11-16 12:05:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 12:05:19 -0800 |
commit | 5fbad1b2e263cb8b39376116dbe6006671bef840 (patch) | |
tree | 379f7c7f3863cbce9d49e17a624d6383e19d5947 /scripts | |
parent | b6339fa2c55f8a803b8ae68c9740fa933c7ee007 (diff) |
Additional support for C++ sources in Firestore (#462)
* Fix up style from previous PRs
* Clang-format configuration for C++ files
* Add support C++-only sources to the podspec
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/style.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/style.sh b/scripts/style.sh index 9ebb775..7113177 100755 --- a/scripts/style.sh +++ b/scripts/style.sh @@ -19,7 +19,8 @@ find . \ -name 'FirebaseCommunity.h' -prune -o \ -name 'Messaging' -prune -o \ -name 'Pods' -prune -o \ - \( -name '*.[mh]' -o -name '*.mm' \) \ + -path '*/Firestore/Port/*' -prune -o \ + \( -name '*.[mh]' -o -name '*.mm' -o -name '*.cc' \) \ -not -name '*.pbobjc.*' \ -not -name '*.pbrpc.*' \ -print0 | xargs -0 clang-format -style=file -i |