From fc4475e70fb2e0084d5584e8b31f69f62c4e83a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Vasconcellos?= Date: Fri, 17 Nov 2023 18:21:11 -0300 Subject: [PATCH] Don't install cargo-watch on CI --- scripts/setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index af29cdfd4a70..c42ddb65e0c9 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -234,7 +234,9 @@ case "$(uname)" in ;; esac -echo "Installing Rust tools..." -cargo install cargo-watch +if [ "${CI:-}" != "true" ]; then + echo "Installing Rust tools..." + cargo install cargo-watch +fi echo 'Your machine has been setup for Spacedrive development!'