Skip to content

Commit bbddac2

Browse files
committed
Filter .generated in trailing whitespace check due to trailing whitespaces in DMD
1 parent 17c372c commit bbddac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posix.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ test_dspec: dspec_tester.d $(STABLE_DMD)
847847

848848
test: $(ASSERT_WRITELN_BIN)_test test_dspec test/next_version.sh all
849849
@echo "Searching for trailing whitespace"
850-
@grep -n '[[:blank:]]$$' $$(find . -type f -name "*.dd") ; test $$? -eq 1
850+
@grep -n '[[:blank:]]$$' $$(find . -type f -name "*.dd" | grep -v .generated) ; test $$? -eq 1
851851
@echo "Searching for undefined macros"
852852
@grep -n "UNDEFINED MACRO" $$(find $W -type f -name "*.html" -not -path "$W/phobos/*") ; test $$? -eq 1
853853
@echo "Searching for undefined ddoc"

0 commit comments

Comments
 (0)