Don't remove dev dependencies but instead use --no-dev-deps option of cargo hack which will restore Cargo.toml after run

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2024-03-31 14:51:13 +00:00
parent b24fb871ae
commit 7bc7b46b9e
No known key found for this signature in database

View file

@ -14,9 +14,8 @@ cargo hack clippy --each-feature
cargo build --workspace --examples cargo build --workspace --examples
cargo test --workspace cargo test --workspace
cargo hack --workspace --remove-dev-deps
cargo check -p librespot-core --no-default-features cargo check -p librespot-core --no-default-features
cargo check -p librespot-core cargo check -p librespot-core
cargo hack check --each-feature -p librespot-discovery cargo hack check --no-dev-deps --each-feature -p librespot-discovery
cargo hack check --each-feature -p librespot-playback cargo hack check --no-dev-deps --each-feature -p librespot-playback
cargo hack check --each-feature cargo hack check --no-dev-deps --each-feature