Updated astyle to work with updated .astyleignore file fgrep === grep -F -F treats lines as fixed strings (aka, the '^' isn't expanded)

pull/10326/head
Cruz Monrreal II 2019-03-25 19:43:34 -05:00 committed by Martin Kojtal
parent 423079728d
commit 709e36f38a
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ matrix:
- >- - >-
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \ git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \ | ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( fgrep -v -f .astyleignore || true ) \ | ( grep -v -f .astyleignore || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done | while read file; do astyle -n --options=.astylerc "${file}"; done
- git diff --exit-code --diff-filter=d --color - git diff --exit-code --diff-filter=d --color