mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-02 22:01:02 +01:00
11 lines
217 B
Bash
Executable File
11 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
|