Skip to content

Commit

Permalink
Improve check.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Feb 15, 2024
1 parent 6120b6c commit ad11a8b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions check.sh
Expand Up @@ -2,14 +2,14 @@
# This scripts runs various CI-like checks in a convenient way.
set -eux

cargo check --workspace --all-targets
cargo check --workspace --all-targets --all-features
cargo check -p example_app --all-features --lib --target wasm32-unknown-unknown
cargo check --quiet --workspace --all-targets
cargo check --quiet --workspace --all-targets --all-features
cargo check --quiet -p example_app --all-features --lib --target wasm32-unknown-unknown
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
cargo test --workspace --all-targets --all-features
cargo test --workspace --doc
cargo clippy --quiet --workspace --all-targets --all-features -- -D warnings -W clippy::all
cargo test --quiet --workspace --all-targets --all-features
cargo test --quiet --workspace --doc

cargo deny check
./cargo_deny.sh

echo "All checks passed!"

0 comments on commit ad11a8b

Please sign in to comment.