mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 20:01:33 +00:00
6cea9813ad
This fixes an extra 10 second delay when needing to recompile xtask, and allows passing arbitrary clippy args (like --allow-dirty) Release Notes: - N/A
10 lines
234 B
Bash
Executable file
10 lines
234 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
if [[ ! " $* " == *" -p "* && ! " $* " == *" --package "* ]]; then
|
|
set -- "$@" --workspace
|
|
fi
|
|
|
|
set -x
|
|
"${CARGO:-cargo}" clippy "$@" --release --all-targets --all-features -- --deny warnings
|