aboutsummaryrefslogtreecommitdiff
path: root/scripts/cleanall.sh
blob: a91d58cfa6db8d34c7aa526845c2fe9624ad822e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

echo "removing build products"

cd `dirname $0`/..

rm -rf build
rm -rf release
rm -f bin/flatcc*
rm -f bin/bfbs2json*
rm -f lib/libflatcc*
if [ -d bin ]; then
    rmdir bin
fi
if [ -d lib ]; then
    rmdir lib
fi