mirror of https://github.com/rwf2/Rocket.git
Require testing in release mode before publishing.
This commit is contained in:
parent
f1269f460e
commit
162bf19c72
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue