Update to cranelift's formatting and testing scripts.
This commit is contained in:
10
check-clippy.sh
Executable file
10
check-clippy.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
# Usage: check-clippy.sh
|
||||
|
||||
if cargo install --list | tee /dev/null | grep -q "^clippy v0"; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user