mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-27 08:20:53 +08:00
10 lines
275 B
Bash
Executable File
10 lines
275 B
Bash
Executable File
#!/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
|
|
|
|
|