From fab7609913c9787bdb79602ff716f5e0d1598c98 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 13 Sep 2020 19:30:55 +0200 Subject: tools/check-whitespace.sh: check for trailing whitespaces File types that we don't format automatically can end up with such basic untidiness as trailing whitespaces. Check for these. Remove all existing precedents. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ede67966a..542a3ac93 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ endif bin/syz-extract bin/syz-fmt \ extract generate generate_go generate_sys \ format format_go format_cpp format_sys \ - tidy test test_race check_copyright check_language check_links check_diff check_commits \ + tidy test test_race check_copyright check_language check_whitespace check_links check_diff check_commits \ presubmit presubmit_smoke presubmit_build presubmit_arch presubmit_big presubmit_race presubmit_old all: host target @@ -266,7 +266,7 @@ presubmit: presubmit_smoke: $(MAKE) generate - $(MAKE) -j100 check_commits check_diff check_copyright check_language check_links presubmit_build tidy + $(MAKE) -j100 check_commits check_diff check_copyright check_language check_whitespace check_links presubmit_build tidy $(MAKE) test presubmit_build: @@ -353,6 +353,9 @@ check_copyright: check_language: ./tools/check-language.sh +check_whitespace: + ./tools/check-whitespace.sh + check_commits: ./tools/check-commits.sh -- cgit mrf-deployment