10 lines · 234 B · Text
RawDownload
#!/usr/bin/env bash set -euo pipefail if [[ ! " $* " == *" -p "* && ! " $* " == *" --package "* ]]; then    set -- "$@" --workspacefi set -x"${CARGO:-cargo}" clippy "$@" --release --all-targets --all-features -- --deny warnings