[riot-notifications] [RIOT-OS/RIOT] dist/tools/doccheck: annotate errors in Github Action (#15642)

Martine Lenders notifications at github.com
Fri Jan 8 10:00:45 CET 2021


@miri64 commented on this pull request.



>              awk -F@ '{ split($2, end, " "); printf("%s%s\n",$1,end[2]) }' |
-            grep "\<${group}\>$" | sort -u |
-            awk -F: '{ print "\t" $1 }';
+            grep "\<${group}\>$" | sort -u)
+        DEFGROUPFILES=$(echo "${DEFGROUPS}" | awk -F: '{ print "\t" $1 }')
+        echo -e "\n${CWARN}${group}${CRESET} defined in:";
+        echo "${DEFGROUPFILES}"
+        echo "${DEFGROUPS}" | while read defgroup;
+        do
+            github_annotate_error $(echo ${defgroup} | awk -F: '{ print $1,$2 }') \
+                "Multiple doxygen group define of '${group}' in\n${DEFGROUPFILES}"

Used.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15642#discussion_r553819540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210108/7cada487/attachment.htm>


More information about the notifications mailing list