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 ae234e8 commit 5d3a2c9Copy full SHA for 5d3a2c9
.travis.yml
@@ -17,8 +17,9 @@ 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 echo EXCLUDES+=" ':(top,exclude)${file}'" ; done < .clang-format-ignore
+ echo ${EXCLUDES}
22
+ git-clang-format-7 --binary clang-format-7 "${TRAVIS_BRANCH}" -- ${EXCLUDES}
23
git diff > formatted.diff
24
if [[ -s formatted.diff ]] ; then
25
echo 'Formatting error! The following diff shows the required changes'
0 commit comments