solana/ci/test-checks.sh

20 lines
371 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
2018-12-18 14:25:10 -08:00
source ci/_
ci/version-check.sh stable
2018-12-18 14:25:10 -08:00
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_ cargo fmt --all -- --check
_ cargo clippy --all -- --version
_ cargo clippy --all -- --deny=warnings
_ ci/audit.sh
_ ci/nits.sh || true # TODO: remove || true once all println!s are expunged
2018-12-18 12:20:41 -08:00
_ book/build.sh
echo --- ok