Add scripts for running clang-format

This commit is contained in:
Petri Lehtinen
2019-10-17 09:30:31 +03:00
parent 79fe8c3435
commit be0fca914e
2 changed files with 21 additions and 0 deletions

3
scripts/clang-format Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
find . -type f -a '(' -name '*.c' -o -name '*.h' ')' | xargs clang-format -i