Require testing in release mode before publishing.

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

View File

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