mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
339 B
14 lines
339 B
9 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
# change to root directory
|
||
|
cd $(dirname $0)/../..
|
||
|
|
||
|
# build clang-format docker image
|
||
|
docker build -t grpc_clang_format tools/dockerfile/grpc_clang_format
|
||
|
|
||
|
# run clang-format against the checked out codebase
|
||
|
docker run -e TEST=$TEST --rm=true -v `pwd`:/local-code -t grpc_clang_format /clang_format_all_the_things.sh
|
||
|
|