forked from VTOOLS-FOSS/NUBOMEDIA-VCA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clean.sh
160 lines (122 loc) · 3.76 KB
/
clean.sh
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
#!/bin/sh
EAR_NAME=nubo-ear-detector
EAR_PACK=modules/nubo_ear/
EAR_MODULE=$EAR_PACK/nubo-ear-detector
EAR_APP_NAME=NuboEarJava
EAR_APP=apps/$EAR_APP_NAME/
NOSE_NAME=nubo-nose-detector
NOSE_PACK=modules/nubo_nose/
NOSE_MODULE=$NOSE_PACK/nubo-nose-detector
NOSE_APP_NAME=NuboNoseJava
NOSE_APP=apps/$NOSE_APP_NAME/
MOUTH_NAME=nubo-mouth-detector
MOUTH_PACK=modules/nubo_mouth/
MOUTH_MODULE=$MOUTH_PACK/nubo-mouth-detector
MOUTH_APP_NAME=NuboMouthJava
MOUTH_APP=apps/$MOUTH_APP_NAME/
FACE_NAME=nubo-face-detector
FACE_PACK=modules/nubo_face/
FACE_MODULE=$FACE_PACK/nubo-face-detector
FACE_APP_NAME=NuboFaceJava
FACE_APP=apps/$FACE_APP_NAME/
EYE_NAME=nuboeyedetector
EYE_PACK=modules/nubo_eye/
EYE_MODULE=$EYE_PACK/nuboeyedetector
EYE_APP_NAME=NuboEyeJava
EYE_APP=apps/$EYE_APP_NAME/
TRACKER_NAME=nubotracker
TRACKER_PACK=modules/nubo_tracker/
TRACKER_MODULE=$TRACKER_PACK/nubotrackerdetector
TRACKER_APP_NAME=NuboTrackerJava
TRACKER_APP=apps/$TRACKER_APP_NAME/
# Composed apps
MOTION_FACE_APP_NAME=motionFaceJava
MOTION_FACE_APP=apps/$MOTION_FACE_APP_NAME/
FACE_PROFILE_APP_NAME=NuboFaceProfileJava
FACE_PROFILE_APP=apps/$FACE_PROFILE_APP_NAME/
rm output/* -rf;
rm -rf apps/apps_install/
### modules ###
#Ear
rm $EAR_PACK/*deb
rm $EAR_PACK/$EAR_NAME_*
rm -rf $EAR_MODULE/build/
rm -rf $EAR_MODULE/obj-x86_64-linux-gnu/
rm -rf $EAR_MODULE/debian/$EAR_NAME/
rm -rf $EAR_MODULE/debian/$EAR_NAME-dev/
rm -rf $EAR_MODULE/debian/$EAR_NAME*substvars
rm -rf $EAR_MODULE/debian/$EAR_NAME*debhelper
rm -rf $EAR_MODULE/debian/tmp/
#Nose
rm $NOSE_PACK/*deb
rm $NOSE_PACK/$NOSE_NAME_*
rm -rf $NOSE_MODULE/build/
rm -rf $NOSE_MODULE/obj-x86_64-linux-gnu/
rm -rf $NOSE_MODULE/debian/$NOSE_NAME/
rm -rf $NOSE_MODULE/debian/$NOSE_NAME-dev/
rm -rf $NOSE_MODULE/debian/$NOSE_NAME*substvars
rm -rf $NOSE_MODULE/debian/$NOSE_NAME*debhelper
rm -rf $NOSE_MODULE/debian/tmp/
#Mouth
rm $MOUTH_PACK/*deb
rm $MOUTH_PACK/$MOUTH_NAME_*
rm -rf $MOUTH_MODULE/build/
rm -rf $MOUTH_MODULE/obj-x86_64-linux-gnu/
rm -rf $MOUTH_MODULE/debian/$MOUTH_NAME/
rm -rf $MOUTH_MODULE/debian/$MOUTH_NAME-dev/
rm -rf $MOUTH_MODULE/debian/$MOUTH_NAME*substvars
rm -rf $MOUTH_MODULE/debian/$MOUTH_NAME*debhelper
rm -rf $MOUTH_MODULE/debian/tmp/
#Face
rm $FACE_PACK/*deb
rm $FACE_PACK/$FACE_NAME_*
rm -rf $FACE_MODULE/build/
rm -rf $FACE_MODULE/obj-x86_64-linux-gnu/
rm -rf $FACE_MODULE/debian/$FACE_NAME/
rm -rf $FACE_MODULE/debian/$FACE_NAME-dev/
rm -rf $FACE_MODULE/debian/$FACE_NAME*substvars
rm -rf $FACE_MODULE/debian/$FACE_NAME*debhelper
rm -rf $FACE_MODULE/debian/tmp/
#EYE
rm $EYE_PACK/*deb
rm $EYE_PACK/$EYE_NAME_*
rm -rf $EYE_MODULE/build/
rm -rf $EYE_MODULE/obj-x86_64-linux-gnu/
rm -rf $EYE_MODULE/debian/$EYE_NAME/
rm -rf $EYE_MODULE/debian/$EYE_NAME-dev/
rm -rf $EYE_MODULE/debian/$EYE_NAME*substvars
rm -rf $EYE_MODULE/debian/$EYE_NAME*debhelper
rm -rf $EYE_MODULE/debian/tmp/
#TRACKER
rm $TRACKER_PACK/*deb
rm $TRACKER_PACK/$EYE_NAME_*
rm -rf $TRACKER_MODULE/build/
rm -rf $TRACKER_MODULE/obj-x86_64-linux-gnu/
rm -rf $TRACKER_MODULE/debian/$TRACKER_NAME/
rm -rf $TRACKER_MODULE/debian/$TRACKER_NAME-dev/
rm -rf $TRACKER_MODULE/debian/$TRACKER_NAME*substvars
rm -rf $TRACKER_MODULE/debian/$TRACKER_NAME*debhelper
rm -rf $TRACKER_MODULE/debian/tmp/
#Tracker
### APPS ###
rm $EAR_APP/install/*jar
rm $EAR_APP/install/*zip
rm $EAR_APP/target/*jar*
rm $MOUTH_APP/install/*jar
rm $MOUTH_APP/install/*zip
rm $MOUTH_APP/target/*jar*
rm $NOSE_APP/install/*jar
rm $NOSE_APP/install/*zip
rm $NOSE_APP/target/*jar*
rm $FACE_APP/install/*jar
rm $FACE_APP/install/*zip
rm $FACE_APP/target/*jar*
rm $EYE_APP/install/*jar
rm $EYE_APP/install/*zip
rm $EYE_APP/target/*jar*
rm $TRACKER_APP/install/*jar
rm $TRACKER_APP/install/*zip
rm $TRACKER_APP/target/*jar*
rm $FACE_PROFILE_APP/install/*jar
rm $FACE_PROFILE_APP/install/*zip
rm $FACE_PROFILE_APP/target/*jar*