You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-rocksdb/.travis/lints.sh

9 lines
186 B

#!/bin/bash
# Run cargo fmt and cargo clippy only on OSX host
if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
cargo fmt --all -- --check
cargo clippy --all --tests -- -D warnings
fi