Skip to content

Commit

Permalink
Add a script for auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc authored and edolstra committed Jun 29, 2022
1 parent 421bddd commit 8c76aa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maintainers/format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

find . -type f -name '*.cc' -o -name '*.hh' | xargs --max-args=8 --max-procs "$(nproc)" clang-format -i

0 comments on commit 8c76aa7

Please sign in to comment.