2020-11-07 10:18:51 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [[ ! -z $CI ]]; then
|
|
|
|
export CARGO_HUSKY_DONT_INSTALL_HOOKS=true
|
|
|
|
fi
|
|
|
|
|
|
|
|
cargo fmt -- --check
|
|
|
|
cargo clippy --all-targets --all-features -- -D warnings
|
2020-11-08 18:04:48 +00:00
|
|
|
cargo check --frozen
|
2020-12-27 22:37:21 +00:00
|
|
|
cargo test --all-targets
|
2020-12-27 21:10:13 +00:00
|
|
|
cargo test --all-targets --all-features
|