Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit c5d6e4d

Browse files
committed
feat(formatter): Add buildifier in formatter
1 parent 397ceba commit c5d6e4d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hooks/formatter

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ for file in $(find $(git rev-parse --show-toplevel) | grep -E "\.(c|cc|cpp|h|hh|
44
do
55
clang-format -style=file -fallback-style=none -i $file
66
done
7+
8+
for file in $(find $(git rev-parse --show-toplevel) | grep -E "\BUILD\$" | grep -Ev "/third_party/")
9+
do
10+
buildifier $file
11+
done

0 commit comments

Comments
 (0)