Makefile: print errors in standard format

Use the standard "file:line:col: error message" format.

Update #1699
This commit is contained in:
Dmitry Vyukov 2020-05-17 06:53:43 +02:00
parent fc28aeb6b9
commit 2d4efabd02

View File

@ -389,7 +389,7 @@ check_links:
check_diff: check_diff:
@if [ "$(shell git --no-pager diff --name-only)" != "" ]; then \ @if [ "$(shell git --no-pager diff --name-only)" != "" ]; then \
git --no-pager diff; \ git --no-pager diff; \
echo -e "\n\nSome files are not formatted/regenerated (include them into commit):"; \ git --no-pager diff --name-only | \
git --no-pager diff --name-only; \ sed "s#.*#&:1:1: The file is not formatted/regenerated. Run 'make generate' and include it into the commit.#g"; \
false; \ false; \
fi fi