1
0
Fork 0

Merge pull request #101 from google/clang-format-default

Use default style for clang-format
This commit is contained in:
Mikhail Goncharov 2020-01-21 15:47:03 +01:00 committed by GitHub
commit af2b9245f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ echo "Running linters... ====================================="
cd "${WORKSPACE}" cd "${WORKSPACE}"
# Let clang format apply patches --diff doesn't produces results in the format we want. # Let clang format apply patches --diff doesn't produces results in the format we want.
git-clang-format --style=llvm git-clang-format
set +e set +e
git diff -U0 --exit-code > "${TARGET_DIR}"/clang-format.patch git diff -U0 --exit-code > "${TARGET_DIR}"/clang-format.patch
STATUS="${PIPESTATUS[0]}" STATUS="${PIPESTATUS[0]}"