Bug 1578058 - Add clippy in the mozlint docker image r=ahal

Depends on D58250

Differential Revision: https://phabricator.services.mozilla.com/D58251

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2020-02-12 21:11:38 +00:00
parent 011b986e6d
commit 186dd63672

View File

@ -102,7 +102,7 @@ cd /setup
pip3 install --require-hashes -r /tmp/tox_requirements.txt
###
# rustfmt
# rustfmt and clippy
###
cd /setup
@ -111,7 +111,9 @@ export CARGO_HOME="$RUSTUP_HOME"
mkdir -p "$CARGO_HOME"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
"$RUSTUP_HOME"/bin/rustup component add rustfmt
"$RUSTUP_HOME"/bin/rustup component add clippy
"$RUSTUP_HOME"/bin/rustfmt --version
"$CARGO_HOME"/bin/cargo clippy --version
cd /
rm -rf /setup