mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-01 02:42:41 +08:00
Fixed format.sh script
This commit is contained in:
parent
d61f0a5d5e
commit
fbd1ebcebf
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
pwd
|
pwd
|
||||||
find_sources="find include src tests example bench -not ( -path include/spdlog/fmt/bundled -prune ) -type f -name *\.h -o -name *\.cpp"
|
find_sources="find include src tests example bench -type f -name *\.h -o -name *\.cpp"
|
||||||
echo -n "Running dos2unix "
|
echo -n "Running dos2unix "
|
||||||
$find_sources | xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
|
$find_sources | xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user