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-11-07 10:18:51 +00:00
|
|
|
cargo test
|
|
|
|
cargo test -- --ignored
|