Files
wasmtime/check-clippy.sh
Benjamin Bouvier 7204026bc8 Don't display stderr for the testing command in check.sh's runif;
And remove an obsolete comment in check-clippy.sh.
2018-07-11 13:47:25 -07:00

11 lines
156 B
Bash
Executable File

#!/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