mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
Remove format checks from CI scripts again.
This commit is contained in:
parent
503474a647
commit
0c00391ed0
1 changed files with 0 additions and 19 deletions
|
@ -49,22 +49,3 @@ export CARGO_TARGET_DIR=`pwd`/target/
|
|||
|
||||
# TODO: CLIPPY_CONF_DIR / CARGO_MANIFEST_DIR
|
||||
)
|
||||
|
||||
# make sure tests are formatted
|
||||
|
||||
# some lints are sensitive to formatting, exclude some files
|
||||
tests_need_reformatting="false"
|
||||
# switch to nightly
|
||||
rustup override set nightly
|
||||
# avoid loop spam and allow cmds with exit status != 0
|
||||
set +ex
|
||||
|
||||
set -ex # reset
|
||||
|
||||
if [ "${tests_need_reformatting}" == "true" ] ; then
|
||||
echo "Tests need reformatting!"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
# switch back to master
|
||||
rustup override set master
|
||||
|
|
Loading…
Reference in a new issue