build: Delete old tutorial tests before regenerating. Closes #1991

This commit is contained in:
Brian Anderson 2012-03-19 14:33:53 -07:00
parent 869b2d7064
commit 14895aa10b
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ define DEF_DOC_TEST_HOST
doc-tutorial-extract$(1): doc-tutorial-extract$(1):
@$$(call E, extract: tutorial tests) @$$(call E, extract: tutorial tests)
$$(Q)rm $(1)/test/doc-tutorial/*.rs
$$(Q)$$(EXTRACT_TESTS) $$(S)doc/tutorial.md $(1)/test/doc-tutorial $$(Q)$$(EXTRACT_TESTS) $$(S)doc/tutorial.md $(1)/test/doc-tutorial
endef endef