mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 17:18:30 +01:00
18 lines
412 B
Bash
Executable file
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
|
|
|