mirror of https://github.com/ARMmbed/mbed-os.git
Updated astyle to work with updated .astyleignore file fgrep === grep -F -F treats lines as fixed strings (aka, the '^' isn't expanded)
parent
423079728d
commit
709e36f38a
|
@ -183,7 +183,7 @@ matrix:
|
|||
- >-
|
||||
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
|
||||
| ( 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
|
||||
- git diff --exit-code --diff-filter=d --color
|
||||
|
||||
|
|
Loading…
Reference in New Issue