mirror of
https://github.com/librespot-org/librespot.git
synced 2024-09-19 16:08:30 +00:00
b24fb871ae
Signed-off-by: Christian König <ckoenig@posteo.de>
23 lines
703 B
Bash
Executable file
23 lines
703 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# this script runs the tests and checks that also run as part of the`test.yml` github action workflow
|
|
|
|
cargo fmt --all -- --check
|
|
cargo clippy -p librespot-core --no-default-features
|
|
cargo clippy -p librespot-core
|
|
|
|
cargo hack clippy --each-feature -p librespot-discovery
|
|
cargo hack clippy --each-feature -p librespot-playback
|
|
cargo hack clippy --each-feature
|
|
|
|
cargo build --workspace --examples
|
|
cargo test --workspace
|
|
cargo hack --workspace --remove-dev-deps
|
|
cargo check -p librespot-core --no-default-features
|
|
cargo check -p librespot-core
|
|
cargo hack check --each-feature -p librespot-discovery
|
|
cargo hack check --each-feature -p librespot-playback
|
|
cargo hack check --each-feature
|