summaryrefslogtreecommitdiff
path: root/scripts/cleanProject.sh
blob: 058ef20ebc101bda223eca1769f64585af399d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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