rust-clippy/util/dogfood.sh

6 lines
202 B
Bash
Raw Normal View History

#!/bin/sh
rm -rf target*/*so
2016-10-30 01:14:20 +00:00
cargo build --lib && cp -R target target_recur && cargo rustc --lib -- -Zextra-plugins=clippy -Ltarget_recur/debug -Dclippy_pedantic -Dclippy || exit 1
rm -rf target_recur