mirror of https://github.com/gabime/spdlog.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
336 B
Bash
14 lines
336 B
Bash
#!/bin/bash
|
|
|
|
cd "$(dirname "$0")"
|
|
cd ..
|
|
|
|
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
|
|
|
|
|