summaryrefslogtreecommitdiff
path: root/scripts/cleanProject.sh
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2021-02-02 15:36:46 +0000
committercyberta <cyberta@riseup.net>2021-02-02 15:36:46 +0000
commit50588d08d77529eb84686220cfe3c8816195d46b (patch)
treeea8a367135749d0012be6a4c78e4284e679e93e7 /scripts/cleanProject.sh
parentf425762e35957e663eeda3e5bea73a1f93ab90dd (diff)
parenteba2108802a4b6251419b02c2f0ca47c0a701653 (diff)
Merge branch 'move_scripts' into 'master'
Move scripts See merge request leap/bitmask_android!120
Diffstat (limited to 'scripts/cleanProject.sh')
-rwxr-xr-xscripts/cleanProject.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/cleanProject.sh b/scripts/cleanProject.sh
new file mode 100755
index 00000000..058ef20e
--- /dev/null
+++ b/scripts/cleanProject.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+SCRIPT_DIR=$(dirname "$0")
+BASE_DIR="$SCRIPT_DIR/.."
+
+git checkout -- \*
+git checkout -- \.\*
+
+rm -r $BASE_DIR/ics-openvpn
+rm -r $BASE_DIR/build
+rm -r $BASE_DIR/app/build
+rm -r $BASE_DIR/go/lib/*
+rm -r $BASE_DIR/currentReleases
+git submodule sync --recursive
+git submodule update --init --recursive