mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
format.sh don't format bundled src
This commit is contained in:
parent
2fa7410c0e
commit
7025ff4280
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo -n "Running dos2unix "
|
echo -n "Running dos2unix "
|
||||||
find . -name "*\.h" -o -name "*\.cpp"|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
|
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
|
||||||
echo
|
echo
|
||||||
echo -n "Running clang-format "
|
echo -n "Running clang-format "
|
||||||
find . -name "*\.h" -o -name "*\.cpp"|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
|
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user