Skip to content

Commit f5447e0

Browse files
committed
Filter .generated in trailing whitespace check due to trailing whitespaces in DMD
1 parent 23d525f commit f5447e0

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
@@ -641,7 +641,7 @@ $(PHOBOS_STABLE_FILES_GENERATED): $(PHOBOS_STABLE_DIR_GENERATED)/%: $(PHOBOS_STA
641641

642642
test: $(ASSERT_WRITELN_BIN)_test all
643643
@echo "Searching for trailing whitespace"
644-
@grep -n '[[:blank:]]$$' $$(find . -type f -name "*.dd") ; test $$? -eq 1
644+
@grep -n '[[:blank:]]$$' $$(find . -type f -name "*.dd" | grep -v .generated) ; test $$? -eq 1
645645
@echo "Searching for undefined macros"
646646
@grep -n "UNDEFINED MACRO" $$(find $(DOC_OUTPUT_DIR) -type f -name "*.html" -not -path "$(DOC_OUTPUT_DIR)/phobos/*") ; test $$? -eq 1
647647
@echo "Searching for undefined ddoc"

0 commit comments

Comments
 (0)