1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix rustfmt build failures

This commit is contained in:
Christian Duerr 2020-07-18 18:02:06 +00:00 committed by GitHub
parent 7a4b4a6a24
commit f3c5760236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,8 @@ sources:
- https://github.com/alacritty/alacritty
tasks:
- rustup: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --profile minimal
$HOME/.cargo/bin/rustup component add rustfmt
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain none
$HOME/.cargo/bin/rustup toolchain install nightly -c rustfmt
- rustfmt: |
cd alacritty
$HOME/.cargo/bin/cargo fmt -- --check