File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
tools/test/travis-ci/doxy-spellchecker Expand file tree Collapse file tree 3 files changed +10
-7
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ matrix:
125
125
- >-
126
126
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
127
127
| ( grep '.*\.\(c\|cpp\|h\|hpp\)$' || true ) \
128
- | ( grep -v -f .astyleignore || true ) \
128
+ | ( grep -v -f .codecheckignore || true ) \
129
129
| while read file; do astyle -n --options=.astylerc "${file}"; done
130
130
- git diff --exit-code --diff-filter=d --color
131
131
@@ -135,11 +135,12 @@ matrix:
135
135
install :
136
136
- source_pkg aspell
137
137
script :
138
- - ./tools/test/travis-ci/doxy-spellchecker/spell.sh drivers
139
- - ./tools/test/travis-ci/doxy-spellchecker/spell.sh platform
140
- - ./tools/test/travis-ci/doxy-spellchecker/spell.sh events
141
- - ./tools/test/travis-ci/doxy-spellchecker/spell.sh rtos
142
- - ./tools/test/travis-ci/doxy-spellchecker/spell.sh connectivity/netsocket
138
+ # TODO: run checks on all directories once all mispellings are fixed
139
+ - ./tools/test/travis-ci/doxy-spellchecker/spell.sh drivers .codecheckignore
140
+ - ./tools/test/travis-ci/doxy-spellchecker/spell.sh platform .codecheckignore
141
+ - ./tools/test/travis-ci/doxy-spellchecker/spell.sh events .codecheckignore
142
+ - ./tools/test/travis-ci/doxy-spellchecker/spell.sh rtos .codecheckignore
143
+ - ./tools/test/travis-ci/doxy-spellchecker/spell.sh connectivity/netsocket .codecheckignore
143
144
144
145
- << : *docs-vm
145
146
name : " doxygen"
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ while read file; do
114
114
echo " _________________________________"
115
115
fi
116
116
117
- done < <( find " ${1} " -type d -iname " *target*" -prune -o -name ' *.h' -print)
117
+ # ${1}: directory to check
118
+ # ${2}: file containing a list of paths (regex) to exclude
119
+ done < <( find " ${1} " -type d -iname " *target*" -prune -o -name ' *.h' -print | grep -v -f " ${2} " )
118
120
119
121
echo " ----------------------------------------------------------------------------------"
120
122
echo " Total Errors Found: ${ERRORS} "
You can’t perform that action at this time.
0 commit comments