mirror of https://github.com/grpc/grpc.git
commit
7bf3c45707
2 changed files with 0 additions and 20 deletions
@ -1,9 +0,0 @@ |
||||
#!/bin/bash |
||||
set -e |
||||
source $(dirname $0)/config.sh |
||||
cd $(dirname $0)/../.. |
||||
for dir in src test include |
||||
do |
||||
find $dir -name '*.c' -or -name '*.cc' -or -name '*.h' | xargs $CLANG_FORMAT -i |
||||
done |
||||
|
@ -1,11 +0,0 @@ |
||||
CLANG_FORMAT=clang-format-3.5 |
||||
|
||||
set -ex |
||||
|
||||
if not hash $CLANG_FORMAT 2>/dev/null; then |
||||
echo "$CLANG_FORMAT is needed but not installed" |
||||
echo "perhaps try:" |
||||
echo " sudo apt-get install $CLANG_FORMAT" |
||||
exit 1 |
||||
fi |
||||
|
Loading…
Reference in new issue