rust-clippy/util/dogfood.sh

6 lines
180 B
Bash
Raw Normal View History

#!/bin/sh
rm -rf target*/*so
cargo build --lib && cp -R target target_recur && cargo rustc -- -Zextra-plugins=clippy -Ltarget_recur/debug -Dclippy || exit 1
rm -rf target_recur