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

Commit

Permalink
feat(formatter): Add buildifier in formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Jan 12, 2020
1 parent 397ceba commit c5d6e4d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hooks/formatter
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ for file in $(find $(git rev-parse --show-toplevel) | grep -E "\.(c|cc|cpp|h|hh|
do
clang-format -style=file -fallback-style=none -i $file
done

for file in $(find $(git rev-parse --show-toplevel) | grep -E "\BUILD\$" | grep -Ev "/third_party/")
do
buildifier $file
done

0 comments on commit c5d6e4d

Please sign in to comment.