Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit cb32bd4

Browse files
authored
Merge pull request #2085 from ibuclaw/linttrailing
posix.mak: Add check for trailing whitespace from phobos merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2 parents edf321a + e714ea0 commit cb32bd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

posix.mak

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,11 @@ test/%/.clean: test/%/Makefile
362362
# Submission to Druntime are required to conform to the DStyle
363363
# The tests below automate some, but not all parts of the DStyle guidelines.
364364
# See: http://dlang.org/dstyle.html
365-
style: checkwhitespace
365+
style: checkwhitespace style_lint
366+
367+
style_lint:
368+
@echo "Check for trailing whitespace"
369+
$(GREP) -nr '[[:blank:]]$$' $(MANIFEST) ; test $$? -eq 1
366370

367371
.PHONY : auto-tester-build
368372
auto-tester-build: target checkwhitespace

0 commit comments

Comments
 (0)