aboutsummaryrefslogtreecommitdiff
path: root/contrib/uncrustify.sh
blob: 099741731b381ad01e07b5e12175bfe0a53a15bc (plain)
1
2
3
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
find "$DIR/../src" \( -name "*.cpp" -o -name "*.c" -o -name "*.h" \) -exec uncrustify -c "$DIR/uncrustify.cfg" --replace --no-backup {} +