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

Commit e714ea0

Browse files
committed
posix.mak: Add lint check for trailing whitespace from Phobos
1 parent edf321a commit e714ea0

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)