-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathclean.sh
More file actions
executable file
·55 lines (45 loc) · 1.37 KB
/
Copy pathclean.sh
File metadata and controls
executable file
·55 lines (45 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
#set -xv
WORKING_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# shellcheck source=/dev/null
source "${WORKING_DIR}/scripts/step-0-color.sh"
echo -e "${cyan} ${double_arrow} Cleaning started ${NC}"
rm -f DartConfiguration.tcl
find . -name 'target' -type d | xargs rm -Rf
find . -name '*.cpp.*r.*' -type f | xargs rm -Rf
#Coverage
find . -name '*.gcno' -type f | xargs rm -Rf
find . -name '*.gcna' -type f | xargs rm -Rf
#CMake
find . -name 'CMakeFiles' -type d | xargs rm -Rf
rm -f sample/build-linux/Makefile
rm -Rf sample/build-linux/_CPack_Packages/
rm -f sample/build-linux/MICROSOFT*.deb
rm -f sample/build-linux/conan*
rm -f sample/build-linux/coverage*
rm -f sample/build-linux/lcov*
rm -Rf sample/build-linux/check/
rm -Rf sample/build-linux/Testing/
rm -Rf sample/build-linux/doc/
rm -Rf sample/build-linux/bin/
#rm -Rf sample/build-linux/nabla_*_amd64.deb
#Scons
#rm -Rf buildcache-*
#rm -Rf scons-signatures-*.dblite
#rm -f sample/microsoft/conanbuildinfo.*
rm -f conanbuildinfo.*
echo -e "${magenta} ${double_arrow} scons clean ${NC}"
scons clean
#git clean --quiet -fdx --exclude="*.tgz" --exclude="*md5" --exclude="*VERSION.TXT"
#git checkout -f .
#Other
rm -Rf nabla-*
#rm -Rf nabla-*.tar.gz
rm -Rf Nabla*
rm -Rf target
rm -Rf bin
rm -Rf include
rm -Rf Testing/
#rm -Rf ${HOME}/.conan/
echo -e "${magenta} ${double_arrow} Cleaning DONE ${NC}"
exit 0