watchexec/ci/before.sh
Félix Saparelli e54b7f2427
Remove appveyor
2019-10-28 13:11:33 +13:00

18 lines
412 B
Bash
Executable file

#!/usr/bin/env bash
set -e
rustup target add $TARGET
cargo clean --target $TARGET --verbose
if [ $TRAVIS_OS_NAME = windows ]; then
choco install windows-sdk-10.1
fi
if [[ ! -z "$CARGO_AUDIT" ]]; then
which cargo-audit || cargo install --debug cargo-audit
# --debug for faster build at the minimal expense of runtime speed
elif [[ ! -z "$CARGO_CLIPPY" ]]; then
rustup component add clippy
fi