aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/format_all.sh
blob: 0591413e04e39f73966de4a80eb9ee6c42f64cc6 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
set -xue

SCRIPT_PATH=$( cd "$(dirname "${BASH_SOURCE}")" ; pwd -P )

pushd ${SCRIPT_PATH}
find src/ -type f '(' -name '*.c' -o -name '*.cc' -o -name '*.h' ')' -exec clang-format -style=file -i {} \;
popd