Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
234 B
Bash
Raw Permalink Normal View History

2024-02-09 20:13:00 +02:00
#!/usr/bin/env bash
2024-06-18 13:49:44 -06:00
set -euo pipefail
2024-02-08 12:56:29 -08:00
2024-06-18 13:49:44 -06:00
if [[ ! " $* " == *" -p "* && ! " $* " == *" --package "* ]]; then
set -- "$@" --workspace
fi
set -x
"${CARGO:-cargo}" clippy "$@" --release --all-targets --all-features -- --deny warnings