aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-09-13 19:30:55 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-09-14 09:55:45 +0200
commitfab7609913c9787bdb79602ff716f5e0d1598c98 (patch)
tree7bd1cebde179e383cbbf5868e5b664c7d0f7e88f /Makefile
parent3f1d02b23f99beaf2bf3b06c11642e56578b12ee (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
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