Include comments in ignore string as well

pull/39/head
Arcadie 4 years ago
parent 583281f2d5
commit fbe3651fc4

@ -26,7 +26,7 @@ book: ## Generate an mdBook version
snippets: ## Create snippets
@type md2src >/dev/null 2>&1 || (echo "Run 'cargo install md2src' first." >&2 ; exit 1)
@mkdir -p $(SNIPPETS)
@md2src "README.md" "$(SNIPPETS)" -i "⚠️" -i "🚧" ## ignore snippets that contain these strings
@md2src "README.md" "$(SNIPPETS)" -i "// ⚠️" -i "// 🚧" ## ignore snippets that contain these strings
snippets-test: snippets ## Test snippets
@for snippet in $$(ls $(SNIPPETS)/*.rs); do \

Loading…
Cancel
Save