From cfd025b5289bc305470a96657868c982a2b13bc2 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 30 Mar 2019 16:48:36 +0000 Subject: Add rustfmt style guide --- ci/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ci/install.sh') diff --git a/ci/install.sh b/ci/install.sh index af4bb776..ccbe3728 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -1,6 +1,11 @@ #!/bin/bash -# Add clippy for linting with nightly builds +# Add clippy for lint validation if [ "$CLIPPY" == "true" ]; then rustup component add clippy fi + +# Add rustfmt for format validation +if [ "$RUSTFMT" == "true" ]; then + rustup component add rustfmt +fi -- cgit v1.2.3-54-g00ecf