mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
add debug echos
This commit is contained in:
parent
b9ed82475e
commit
2a674c3d9e
5
.github/workflows/clang-format.yml
vendored
5
.github/workflows/clang-format.yml
vendored
@ -26,11 +26,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for fname in $(find . -type f -name '*.cpp' -o -name '*.h')
|
for fname in $(find . -type f -name '*.cpp' -o -name '*.h')
|
||||||
do
|
do
|
||||||
|
echo "${fname}"
|
||||||
new_fname=`echo ${fname} | tr ' ' '_'`
|
new_fname=`echo ${fname} | tr ' ' '_'`
|
||||||
|
echo " ${new_fname}"
|
||||||
new_fname=`echo ${new_fname} | tr 'A-Z' 'a-z'`
|
new_fname=`echo ${new_fname} | tr 'A-Z' 'a-z'`
|
||||||
|
echo " ${new_fname}"
|
||||||
if [ ${fname} != ${new_fname} ]
|
if [ ${fname} != ${new_fname} ]
|
||||||
then
|
then
|
||||||
echo "${fname} --> ${new_fname}"
|
echo " ${fname} --> ${new_fname}"
|
||||||
git mv "${fname}" ${new_fname}
|
git mv "${fname}" ${new_fname}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user