jansson/scripts/clang-format

4 lines
90 B
Bash
Executable File

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