mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
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:
parent
011b986e6d
commit
186dd63672
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user