8 lines
198 B
Bash
8 lines
198 B
Bash
#!/bin/bash
|
|
#
|
|
# Runs clang format over the whole project tree, excluding the 'build/' directory.
|
|
#
|
|
|
|
find . -type d \( -path './build' \) -prune -iname '*.h' -o -iname '*.c' | xargs clang-format -i
|
|
|