2018-11-21 12:16:16 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
2018-12-18 14:25:10 -08:00
|
|
|
source ci/_
|
2019-03-14 19:41:05 -07:00
|
|
|
source ci/rust-version.sh stable
|
2018-12-18 14:25:10 -08:00
|
|
|
|
2018-11-21 12:16:16 -08:00
|
|
|
export RUST_BACKTRACE=1
|
|
|
|
export RUSTFLAGS="-D warnings"
|
|
|
|
|
2019-03-14 19:41:05 -07:00
|
|
|
_ cargo +"$rust_stable" fmt --all -- --check
|
|
|
|
_ cargo +"$rust_stable" clippy --all -- --version
|
|
|
|
_ cargo +"$rust_stable" clippy --all -- --deny=warnings
|
2019-05-02 15:35:47 -07:00
|
|
|
_ cargo +"$rust_stable" audit
|
2019-01-29 16:02:03 -08:00
|
|
|
_ ci/nits.sh
|
2019-05-30 11:53:41 -07:00
|
|
|
_ ci/order-crates-for-publishing.py
|
2018-12-18 12:20:41 -08:00
|
|
|
_ book/build.sh
|
2018-12-18 18:32:45 -08:00
|
|
|
|
|
|
|
echo --- ok
|