1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-14 01:59:53 +08:00
spdlog/format.sh
2019-06-04 12:26:49 +03:00

9 lines
295 B
Bash
Executable File

echo -n "Running dos2unix "
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
echo
echo -n "Running clang-format "
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
echo