Skip to content

Commit 18862ad

Browse files
committed
Add a check for tabs
1 parent 7b05357 commit 18862ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

posix.mak

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,8 @@ test_dspec: dspec_tester.d $(STABLE_DMD)
867867
test: $(ASSERT_WRITELN_BIN)_test test_dspec test/next_version.sh all
868868
@echo "Searching for trailing whitespace"
869869
@grep -n '[[:blank:]]$$' $$(find . -type f -name "*.dd" | grep -v .generated) ; test $$? -eq 1
870+
@echo "Searching for tabs"
871+
@grep -n -P "\t" $$(find . -type f -name "*.dd" | grep -v .generated) ; test $$? -eq 1
870872
@echo "Searching for undefined macros"
871873
@grep -n "UNDEFINED MACRO" $$(find $W -type f -name "*.html" -not -path "$W/phobos/*") ; test $$? -eq 1
872874
@echo "Searching for undefined ddoc"

0 commit comments

Comments
 (0)