Skip to content

Commit 5bddba1

Browse files
committed
Add check for broken Ddoc
1 parent cc6bc80 commit 5bddba1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

posix.mak

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,13 @@ $(PHOBOS_STABLE_FILES_GENERATED): $(PHOBOS_STABLE_DIR_GENERATED)/%: $(PHOBOS_STA
634634
# Style tests
635635
################################################################################
636636

637-
test: $(ASSERT_WRITELN_BIN)_test all
637+
test: $(ASSERT_WRITELN_BIN)_test
638638
@echo "Searching for trailing whitespace"
639639
@grep -n '[[:blank:]]$$' $$(find . -type f -name "*.dd") ; test $$? -eq 1
640640
@echo "Searching for undefined macros"
641641
@grep -n "UNDEFINED MACRO" $$(find $(DOC_OUTPUT_DIR) -type f -name "*.html" -not -path "$(DOC_OUTPUT_DIR)/phobos/*") ; test $$? -eq 1
642+
@echo "Searching for undefined ddoc"
643+
@grep -rn '[$$](' $$(find $(DOC_OUTPUT_DIR)/phobos-prerelease -type f -name "*.html") ; test $$? -eq 1
642644
@echo "Executing assert_writeln_magic tests"
643645
$<
644646

0 commit comments

Comments
 (0)