summaryrefslogtreecommitdiffstats
path: root/.builds
diff options
context:
space:
mode:
Diffstat (limited to '.builds')
-rw-r--r--.builds/rustfmt.yml10
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