tint2/format-code.sh

4 lines
101 B
Bash
Raw Permalink Normal View History

#!/bin/bash
find . '(' -name '*.h' -o -name '*.c' ')' -exec clang-format-3.7 -style=file -i '{}' \;