We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744c6f3 commit abb0cbaCopy full SHA for abb0cba
.travis.yml
@@ -17,8 +17,8 @@ jobs:
17
script: |
18
clang-format-7 --version
19
# build a pathspec that excludes the files in .clang-format-ignore
20
- while read file ; do echo EXCLUDES+="':(top,exclude)$file' " ; done < .clang-format-ignore
21
- git-clang-format-7 --binary clang-format-7 "${TRAVIS_BRANCH}" -- $EXCLUDES
+ while read file ; do EXCLUDES+=" ':(top,exclude)${file}'" ; done < .clang-format-ignore
+ git-clang-format-7 --binary clang-format-7 "${TRAVIS_BRANCH}" -- ${EXCLUDES}
22
git diff > formatted.diff
23
if [[ -s formatted.diff ]] ; then
24
echo 'Formatting error! The following diff shows the required changes'
0 commit comments