mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 17:18:30 +01:00
10 lines
217 B
Bash
Executable file
10 lines
217 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ ! -z "$CARGO_AUDIT" ]]; then
|
|
cargo check --target $TARGET
|
|
cargo audit
|
|
elif [[ ! -z "$CARGO_CLIPPY" ]]; then
|
|
cargo clippy --target $TARGET
|
|
else
|
|
cargo test --target $TARGET
|
|
fi
|