From 8a1e1947aeccf6f6bcbe2e27f19ee7ccf4c1c8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 1 Mar 2023 12:06:15 +0100 Subject: [PATCH] ci: remove submodule vendor folders to save space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently the `nimbus-build-system` exists twice in each checked out `status-desktop` reposity, and each contains the `Nim-csources-v1` submodule, which weights close to 900MB each: https://github.com/nim-lang/csources_v1 Because of this each `status-destop` clone takes up 4 GB of disk space after the cleanup has run, which is not okay. Signed-off-by: Jakub SokoĊ‚owski --- scripts/clean-git.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/clean-git.sh b/scripts/clean-git.sh index 59edec787c..da092cf7d4 100755 --- a/scripts/clean-git.sh +++ b/scripts/clean-git.sh @@ -3,3 +3,4 @@ git clean -qfdx git submodule foreach --recursive git reset -q --hard git submodule foreach --recursive git clean -qfdx +git submodule foreach --recursive rm -fr vendor