summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-11-22 00:32:42 +0000
committercyberta <cyberta@riseup.net>2022-11-22 00:32:42 +0000
commit0806936f2e2499b2cfa85a429f7926cd3dc6d142 (patch)
tree2e2f2660a8463667f297a5a1985366cbf309c8ae /scripts
parent2bd3f94e15ce2d81ba24ed41defbbf6a237394fc (diff)
parent9d2c5e400e1e69575cdb5782c1f3576a058733fa (diff)
Merge branch 'last_shapeshifter_update<3' into 'master'
fix bitmaskcore builds on macOS See merge request leap/bitmask_android!216
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cleanProject.sh3
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