mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-20 17:17:13 +02:00
Update MaxmindDB to current git.
This commit is contained in:
15
vendor/MaxmindDB/dev-bin/clang-format-all.sh
vendored
Normal file
15
vendor/MaxmindDB/dev-bin/clang-format-all.sh
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
format="clang-format -i -style=file"
|
||||
|
||||
for dir in bin include src t; do
|
||||
c_files=`find $dir -maxdepth 1 -name '*.c'`
|
||||
if [ "$c_files" != "" ]; then
|
||||
$format $dir/*.c;
|
||||
fi
|
||||
|
||||
h_files=`find $dir -maxdepth 1 -name '*.h'`
|
||||
if [ "$h_files" != "" ]; then
|
||||
$format $dir/*.h;
|
||||
fi
|
||||
done
|
Reference in New Issue
Block a user