aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/style.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/style.sh')
-rwxr-xr-xscripts/style.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/style.sh b/scripts/style.sh
new file mode 100755
index 0000000..48a1587
--- /dev/null
+++ b/scripts/style.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+find . \
+ -name 'third_party' -prune -o \
+ -name 'Auth' -prune -o \
+ -name 'AuthSamples' -prune -o \
+ -name 'Database' -prune -o \
+ -name 'FirebaseCommunity.h' -prune -o \
+ -name 'Messaging' -prune -o \
+ -name 'Storage' -prune -o \
+ -name 'Pods' -prune -o \
+ -name '*.[mh]' \
+ -not -name '*.pbobjc.*' \
+ -print0 | xargs -0 clang-format -style=file -i