From 9d2c5e400e1e69575cdb5782c1f3576a058733fa Mon Sep 17 00:00:00 2001 From: cyberta Date: Mon, 21 Nov 2022 21:37:31 +0100 Subject: trying to convince CI to reinit submodule --- scripts/cleanProject.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3