2018-11-21 12:16:16 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
|
|
|
ci/version-check.sh stable
|
|
|
|
export RUST_BACKTRACE=1
|
|
|
|
export RUSTFLAGS="-D warnings"
|
|
|
|
|
|
|
|
_() {
|
|
|
|
echo "--- $*"
|
|
|
|
"$@"
|
|
|
|
}
|
|
|
|
|
2018-12-13 22:35:16 -08:00
|
|
|
_ cargo fmt --all -- --check
|
|
|
|
_ cargo clippy --all -- --version
|
|
|
|
_ cargo clippy --all -- --deny=warnings
|
2018-11-21 12:16:16 -08:00
|
|
|
|
|
|
|
_ ci/audit.sh
|