Require testing in release mode before publishing.

This commit is contained in:
Sergio Benitez 2018-05-31 20:28:54 +02:00
parent c184b0873d
commit 432d8b0308
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ fi
echo ":::: Running test suite..."
cargo clean
bash "${SCRIPT_DIR}/test.sh"
bash "${SCRIPT_DIR}/test.sh" --release
# Temporarily remove the dependency on codegen from core so crates.io verifies.
sed -i.bak 's/rocket_codegen.*//' "${LIB_DIR}/Cargo.toml"