Clean-up before creating docs to avoid dependencies in docs.

This commit is contained in:
Sergio Benitez 2016-10-02 17:51:35 -07:00
parent dc677124c6
commit 7c78994b70
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ function mk_doc() {
popd > /dev/null popd > /dev/null
} }
# We need to clean-up beforehand so we don't get all of the dependencies.
cargo clean
mk_doc $LIB_DIR mk_doc $LIB_DIR
mk_doc $CODEGEN_DIR mk_doc $CODEGEN_DIR
mk_doc $CONTRIB_DIR mk_doc $CONTRIB_DIR