diff options
Diffstat (limited to '.builds/rustfmt.yml')
-rw-r--r-- | .builds/rustfmt.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.builds/rustfmt.yml b/.builds/rustfmt.yml new file mode 100644 index 00000000..fe863e47 --- /dev/null +++ b/.builds/rustfmt.yml @@ -0,0 +1,10 @@ +image: archlinux +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 + - rustfmt: | + cd alacritty + $HOME/.cargo/bin/cargo fmt -- --check |