forked from idaholab/raven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clean_raven
executable file
·61 lines (57 loc) · 2.61 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
#!/bin/bash
RAVEN_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CROW_DIR=${RAVEN_DIR}/crow
rm -f ${RAVEN_DIR}/framework/contrib/AMSC/_amsc*.so \
${RAVEN_DIR}/framework/contrib/AMSC/amsc*egg-info \
${RAVEN_DIR}/framework/contrib/AMSC/amsc.py \
${RAVEN_DIR}/framework/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 \
${RAVE_DIR}/cow/install/
rm -Rf ${RAVEN_DIR}/build
find ${RAVEN_DIR}/framework -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}/framework -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}/framework -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 '{}' \;
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