kinect/codes/Azure-Kinect-Sensor-SDK/extern/spdlog/src/format.sh

10 lines
275 B
Bash
Raw Normal View History

2024-03-06 18:05:53 +00:00
#!/bin/bash
echo -n "Running dos2unix "
find . -name "*\.h" -o -name "*\.cpp"|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
echo
echo -n "Running clang-format "
find . -name "*\.h" -o -name "*\.cpp"|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
echo