22 lines
1.3 KiB
Bash
Executable File
22 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
cargo fmt --all -- --check
|
|
cargo clippy --locked --workspace --all-targets -- -D warnings
|
|
cargo clippy --locked -p tines-core --no-default-features --all-targets -- -D warnings
|
|
# The backend conformance suite lives behind the `conformance` feature so it
|
|
# stays out of the default/std builds, but every backend crate still runs it.
|
|
cargo clippy --locked -p tines-core --features conformance --all-targets -- -D warnings
|
|
cargo clippy --locked -p tines-store --features conformance --all-targets -- -D warnings
|
|
cargo clippy --locked -p tines-sim --features conformance --all-targets -- -D warnings
|
|
RUSTDOCFLAGS="-D warnings" cargo doc --locked --workspace --no-deps
|
|
RUSTDOCFLAGS="-D warnings" cargo doc --locked -p tines-core --no-deps --no-default-features
|
|
cargo test --locked --workspace
|
|
cargo test --locked -p tines-core --features conformance
|
|
cargo test --locked -p tines-store --features conformance
|
|
cargo test --locked -p tines-sim --features conformance
|
|
cargo test --locked -p tines-core --no-default-features
|
|
# The std-free conformance suite also runs with `--no-default-features`, so the
|
|
# no_std + conformance combination is actually exercised (not just by inspection).
|
|
cargo test --locked -p tines-core --no-default-features --features conformance
|
|
sh scripts/check-no-std.sh
|