mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
Jakub Sokołowski
8a1e1947ae
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 <jakub@status.im>
7 lines
257 B
Bash
Executable File
7 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Extracted from Makefile to avoid nimbus-build-system blocking use.
|
|
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
|