summaryrefslogtreecommitdiff
path: root/scripts/cleanProject.sh
blob: c1d5df7a6387107b98a43eddc8e306750163d4f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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/bitmaskcore/lib/*
rm -r $BASE_DIR/currentReleases
rm -r $BASE_DIR/tor-android/build
rm -r $BASE_DIR/tor-android/tor-android-binary/build
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 submodule sync --recursive
git submodule update --init --recursive