mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #1271 from yubiuser/tweak/devcontainer
Tweak/devcontainer
This commit is contained in:
commit
43269cfd73
2 changed files with 22 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
ARG debian_version=slim-bookworm
|
||||
ARG rust_version=1.70.0
|
||||
ARG rust_version=1.71.0
|
||||
FROM rust:${rust_version}-${debian_version}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
|
21
test.sh
Executable file
21
test.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/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 check -p librespot-core --no-default-features
|
||||
cargo check -p librespot-core
|
||||
cargo hack check --no-dev-deps --each-feature -p librespot-discovery
|
||||
cargo hack check --no-dev-deps --each-feature -p librespot-playback
|
||||
cargo hack check --no-dev-deps --each-feature
|
Loading…
Reference in a new issue