提交 bd3df635 编写于 作者: 朔-望's avatar 朔-望

fuck travis

上级 dd15488a
...@@ -6,8 +6,7 @@ TOTAL_ERRORS=0 ...@@ -6,8 +6,7 @@ TOTAL_ERRORS=0
# The trick to remove deleted files: https://stackoverflow.com/a/2413151 # The trick to remove deleted files: https://stackoverflow.com/a/2413151
for file in $(git diff --cached --name-status | awk '$1 != "D" {print $2}' | grep -v "third-party/" | grep -v ".pb."); do for file in $(git diff --cached --name-status | awk '$1 != "D" {print $2}' | grep -v "third-party/" | grep -v ".pb."); do
python ./tools/pre-commit.hooks/run-clang-tidy.py $file; bash -c "python ./tools/pre-commit.hooks/run-clang-tidy.py $file -fix";
echo "python ./tools/pre-commit.hooks/run-clang-tidy.py $file"
TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?); TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?);
done done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册