solana/ci/test-checks.sh

20 lines
268 B
Bash
Raw Normal View History

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