mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tools/doccheck: add simple exclude to doccheck
uniq and sorted simple excludes removes no longer needed exclude patterns
This commit is contained in:
parent
9027179fcc
commit
ce6a42ebdd
5
dist/tools/doccheck/check.sh
vendored
5
dist/tools/doccheck/check.sh
vendored
@ -12,6 +12,7 @@
|
||||
# shellcheck disable=SC2164
|
||||
SCRIPTDIR="$(cd "$(dirname "$0")"; pwd)"
|
||||
RIOTBASE="$(cd "${SCRIPTDIR}"/../../..; pwd)"
|
||||
EXCLUDE_SIMPLE_FILE="${SCRIPTDIR}/exclude_simple"
|
||||
EXCLUDE_PATTERN_FILE="${SCRIPTDIR}/exclude_patterns"
|
||||
GENERIC_EXCLUDE_PATTERN_FILE="${SCRIPTDIR}/generic_exclude_patterns"
|
||||
|
||||
@ -32,8 +33,8 @@ else
|
||||
CWARN=
|
||||
CRESET=
|
||||
fi
|
||||
|
||||
DOXY_OUTPUT=$(make -C "${RIOTBASE}" doc 2>&1 | grep -Evf "${EXCLUDE_PATTERN_FILE}" -f"${GENERIC_EXCLUDE_PATTERN_FILE}")
|
||||
DOXY_OUTPUT=$(make -C "${RIOTBASE}" doc 2>&1| grep -Fvf "${EXCLUDE_SIMPLE_FILE}" )
|
||||
DOXY_OUTPUT=$(echo "${DOXY_OUTPUT}" | grep -Evf "${EXCLUDE_PATTERN_FILE}" | grep -Evf "${GENERIC_EXCLUDE_PATTERN_FILE}")
|
||||
DOXY_ERRCODE=$?
|
||||
RESULT=0
|
||||
|
||||
|
12727
dist/tools/doccheck/exclude_patterns
vendored
12727
dist/tools/doccheck/exclude_patterns
vendored
File diff suppressed because it is too large
Load Diff
8700
dist/tools/doccheck/exclude_simple
vendored
Normal file
8700
dist/tools/doccheck/exclude_simple
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user