Update to cranelift's formatting and testing scripts.

This commit is contained in:
Dan Gohman
2018-07-20 15:17:56 -07:00
parent c612d48b33
commit a2f70a3544
8 changed files with 139 additions and 20 deletions

10
check-clippy.sh Executable file
View 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