Skip to content

Commit

Permalink
Add clang-format to build-aux
Browse files Browse the repository at this point in the history
This actually makes my local pre-commit hook work. zomg.
  • Loading branch information
falconindy committed Jul 30, 2024
1 parent 198e807 commit 457e586
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-aux/clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -e

git ls-files -z -- '*.cc' '*.hh' | xargs -0 clang-format -i

0 comments on commit 457e586

Please sign in to comment.