-
Notifications
You must be signed in to change notification settings - Fork 135
/
clean_raven
executable file
·74 lines (70 loc) · 3.15 KB
/
clean_raven
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
RAVEN_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CROW_DIR=${RAVEN_DIR}/crow
rm -f ${RAVEN_DIR}/ravenframework/contrib/AMSC/_amsc*.so \
${RAVEN_DIR}/ravenframework/contrib/AMSC/amsc*egg-info \
${RAVEN_DIR}/ravenframework/contrib/AMSC/amsc.py \
${RAVEN_DIR}/ravenframework/contrib/AMSC/amsc.pyc \
${RAVEN_DIR}/src/contrib/amsc_wrap.cxx \
${RAVEN_DIR}/src/contrib/amsc_wrap.cpp \
${RAVEN_DIR}/src/contrib/amsc.py \
${RAVEN_DIR}/src/contrib/amsc.pyc
rm -f ${RAVEN_DIR}/src/AMSC/_amsc*.so \
${RAVEN_DIR}/src/AMSC/amsc*egg-info \
${RAVEN_DIR}/src/AMSC/amsc.py \
${RAVEN_DIR}/src/AMSC/amsc.pyc \
${RAVEN_DIR}/src/AMSC/amsc_wrap.cxx \
${RAVEN_DIR}/src/AMSC/amsc_wrap.cpp
rm -Rf ${RAVEN_DIR}/build \
${RAVEN_DIR}/crow/install/ \
${RAVEN_DIR}/install/ \
${RAVEN_DIR}/setup.cfg
rm -f ${RAVEN_DIR}/src/crow_modules/*.so \
${RAVEN_DIR}/src/crow_modules/[dir]*.py \
${RAVEN_DIR}/src/crow_modules/*.cpp
find ${RAVEN_DIR}/ravenframework -name '*.pyc' -exec rm '{}' \;
find ${RAVEN_DIR}/scripts -name '*.pyc' -exec rm '{}' \;
find ${RAVEN_DIR}/rook -name '*.pyc' -exec rm '{}' \;
find ${RAVEN_DIR}/tests -name '*.pyc' -exec rm '{}' \;
find ${RAVEN_DIR}/plugins -name '*.pyc' -exec rm '{}' \;
find ${RAVEN_DIR}/ravenframework -name '*.pyo' -exec rm '{}' \;
find ${RAVEN_DIR}/scripts -name '*.pyo' -exec rm '{}' \;
find ${RAVEN_DIR}/rook -name '*.pyo' -exec rm '{}' \;
find ${RAVEN_DIR}/tests -name '*.pyo' -exec rm '{}' \;
find ${RAVEN_DIR}/plugins -name '*.pyo' -exec rm '{}' \;
find ${RAVEN_DIR}/ravenframework -name '__pycache__' -exec rm -Rf '{}' \;
find ${RAVEN_DIR}/scripts -name '__pycache__' -exec rm -Rf '{}' \;
find ${RAVEN_DIR}/rook -name '__pycache__' -exec rm -Rf '{}' \;
find ${RAVEN_DIR}/tests -name '__pycache__' -exec rm -Rf '{}' \;
find ${RAVEN_DIR}/plugins -name '__pycache__' -exec rm -Rf '{}' \;
find ${RAVEN_DIR}/src -name '__pycache__' -exec rm -Rf '{}' \;
rm -f ${CROW_DIR}/control_modules/_distribution1D.so \
${CROW_DIR}/control_modules/_crowtools.so \
${CROW_DIR}/control_modules/distribution1D_wrap.cxx \
${CROW_DIR}/control_modules/crowtools_wrap.cxx \
${CROW_DIR}/control_modules/distribution1D.py \
${CROW_DIR}/control_modules/libdistribution1D.* \
${CROW_DIR}/control_modules/crowtools.py \
${CROW_DIR}/control_modules/*.so* \
${CROW_DIR}/control_modules/*.dylib* \
${CROW_DIR}/control_modules/*.lo \
${CROW_DIR}/control_modules/*.la \
${CROW_DIR}/control_modules/*.pyc \
${CROW_DIR}/crow_modules/*.so* \
${CROW_DIR}/crow_modules/*.dylib* \
${CROW_DIR}/crow_modules/*_wrap.cxx \
${CROW_DIR}/crow_modules/*_wrap.cpp \
${CROW_DIR}/crow_modules/*py[23].py \
${CROW_DIR}/crow_modules/*.pyc
rm -Rf ${CROW_DIR}/install/ ${CROW_DIR}/build/
rm -Rf ${CROW_DIR}/control_modules/.libs/ ${CROW_DIR}/.libs/
rm -Rf ${CROW_DIR}/src/distributions/.libs/
rm -Rf ${CROW_DIR}/src/tools/.libs/
rm -Rf ${CROW_DIR}/src/utilities/.libs/
rm -Rf ${CROW_DIR}/src/distributions/*.lo \
${CROW_DIR}/src/tools/*.lo \
${CROW_DIR}/src/utilities/*.lo
rm -Rf ${CROW_DIR}/src/distributions/*.d \
${CROW_DIR}/src/tools/*.d \
${CROW_DIR}/src/utilities/*.d
rm -Rf raven_framework.egg-info/