aboutsummaryrefslogtreecommitdiff
path: root/scripts/cleanall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cleanall.sh')
-rwxr-xr-xscripts/cleanall.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/cleanall.sh b/scripts/cleanall.sh
new file mode 100755
index 0000000..a91d58c
--- /dev/null
+++ b/scripts/cleanall.sh
@@ -0,0 +1,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
+