mirror of https://github.com/rwf2/Rocket.git
Clean Rocket crates before testing to avoid versioning/rebuild issues.
This commit is contained in:
parent
cf82469c52
commit
c6f8b251cb
|
@ -62,10 +62,14 @@ check_versions_match "${LIB_DIR}" "${CODEGEN_DIR}" "${CONTRIB_DIR}"
|
||||||
echo ":: Checking for tabs..."
|
echo ":: Checking for tabs..."
|
||||||
ensure_tab_free
|
ensure_tab_free
|
||||||
|
|
||||||
# Update dependencies before running tests.
|
|
||||||
echo ":: Updating dependencies..."
|
echo ":: Updating dependencies..."
|
||||||
cargo update
|
cargo update
|
||||||
|
|
||||||
|
echo ":: Cleaning cached crates..."
|
||||||
|
cargo clean -p rocket
|
||||||
|
cargo clean -p rocket_codegen
|
||||||
|
cargo clean -p rocket_contrib
|
||||||
|
|
||||||
echo ":: Building and testing libraries..."
|
echo ":: Building and testing libraries..."
|
||||||
build_and_test "${LIB_DIR}"
|
build_and_test "${LIB_DIR}"
|
||||||
build_and_test "${CODEGEN_DIR}"
|
build_and_test "${CODEGEN_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue