blob: 24a801f2ac1d7462bc594a5e2a3ce542b8c5c260 [file] [log] [blame]
#!/bin/bash
set -e
check() {
echo "==> Running $@"
"$@"
echo "==="
}
FEATURES=python
# Build and test in release mode to make tests execute faster.
check cargo build --release --features ${FEATURES}
check cargo test --release --features ${FEATURES}
check cargo fmt --check
check cargo clippy --features ${FEATURES} -- -D clippy::pedantic
echo
echo "All presubmit steps passed!"