mirror of https://github.com/wolfSSL/wolfssl.git
Updated doxygen script
Changed check_api.sh grep call to be more friendly across machines, prior call wasn't properly reporting API mismatch on some machinespull/2197/head
parent
f5f1fec840
commit
460556ff45
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
ls ./dox_comments/header_files/ |
|
ls ./dox_comments/header_files/ |
|
||||||
while read h_file; do
|
while read h_file; do
|
||||||
grep -P -h -z -o 'WOLFSSL_API(\n|\s|[^;])*;' ./dox_comments/header_files/$h_file |
|
grep -h --null -o 'WOLFSSL_API(\n|\s|[^;])*;' ./dox_comments/header_files/$h_file |
|
||||||
tr '\n' ' ' |
|
tr '\n' ' ' |
|
||||||
sed 's/\\n//g' |
|
sed 's/\\n//g' |
|
||||||
sed 's/ \+/ /g' |
|
sed 's/ \+/ /g' |
|
||||||
|
@ -11,7 +11,7 @@ while read h_file; do
|
||||||
find ../ -not -path '../doc/*' -name $h_file |
|
find ../ -not -path '../doc/*' -name $h_file |
|
||||||
while read -r h_file_path; do
|
while read -r h_file_path; do
|
||||||
echo "Checking: $h_file_path"
|
echo "Checking: $h_file_path"
|
||||||
grep -P -h -z -o 'WOLFSSL_API(\n|\s|[^;])*;' "$h_file_path" |
|
grep -h --null -o 'WOLFSSL_API(\n|\s|[^;])*;' "$h_file_path" |
|
||||||
sed 's/#.*/ /g' |
|
sed 's/#.*/ /g' |
|
||||||
tr '\n' ' ' |
|
tr '\n' ' ' |
|
||||||
sed 's/\\n//g' |
|
sed 's/\\n//g' |
|
||||||
|
|
Loading…
Reference in New Issue