diff options
author | cyberta <cyberta@riseup.net> | 2022-11-21 21:37:31 +0100 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-11-21 21:37:31 +0100 |
commit | 9d2c5e400e1e69575cdb5782c1f3576a058733fa (patch) | |
tree | 57d1dc6033c566211632f33a57266324f100d483 | |
parent | 3f18ad02a9ffa6818bee3637dac1e3ad0ffe914c (diff) |
trying to convince CI to reinit submodule
-rwxr-xr-x | scripts/cleanProject.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cleanProject.sh b/scripts/cleanProject.sh index e7d8460e..49e2db44 100755 --- a/scripts/cleanProject.sh +++ b/scripts/cleanProject.sh @@ -6,6 +6,8 @@ BASE_DIR="$SCRIPT_DIR/.." git checkout -- \* git checkout -- \.\* +git clean -xfd +git submodule foreach --recursive git clean -xfd rm -r $BASE_DIR/ics-openvpn rm -r $BASE_DIR/build rm -r $BASE_DIR/app/build @@ -18,6 +20,7 @@ rm -r $BASE_DIR/tor-android/external/bin rm -r $BASE_DIR/tor-android/external/include/ rm -r $BASE_DIR/tor-android/external/*.build-stamp rm -r $BASE_DIR/tor-android/external/lib +git reset --hard git submodule foreach --recursive git reset --hard HEAD git submodule sync --recursive git submodule update --init --recursive |