-
Notifications
You must be signed in to change notification settings - Fork 95
/
clean.bat
129 lines (108 loc) · 4.94 KB
/
clean.bat
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
@echo off
echo -----------------------------------
echo clean project/coide_gen/rvmdk/ewarm
@for /r . %%a in (.) do (
@if exist "%%a\coide_gen" rd /s /q "%%a\coide_gen"
@if exist "%%a\Debug_Flash" rd /s /q "%%a\Debug_Flash"
@if exist "%%a\Debug_Ram" rd /s /q "%%a\Debug_Ram"
@if exist "%%a\ewarm\settings" rd /s /q "%%a\ewarm\settings"
@if exist "%%a\Debug" rd /s /q "%%a\Debug"
@if exist "%%a\Release" rd /s /q "%%a\Release"
@if exist "%%a\*.dep" del /q "%%a\*.dep"
@if exist "%%a\obj" rd /s /q "%%a\obj"
@if exist "%%a\lst" rd /s /q "%%a\lst"
@if exist "%%a\*.uvgui.*" del /q "%%a\*.uvgui.*"
@if exist "%%a\*.bak" del /q "%%a\*.bak"
@if exist "%%a\*.o" del /q "%%a\*.o"
@if exist "%%a\*.d" del /q "%%a\*.d"
@if exist "%%a\*.tmp" del /q "%%a\*.tmp"
)
@echo completed
echo -----------------------------------
echo -----------------------------------
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_NUC1xx\all\project\template\coide
echo clean %clean_target%(genernate)
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_NUC122\all\project\template\coide
echo clean %clean_target%(genernate)
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_M051\all\project\template\coide
echo clean %clean_target%(genernate)
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.NUC1xx.doxygen(html/rtf)
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_NUC1xx\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\CoX_Peripheral\CoX_Peripheral_NUC1xx\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.NUC122.doxygen(html/rtf)
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_NUC122\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\CoX_Peripheral\CoX_Peripheral_NUC122\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.M051.doxygen(html/rtf)
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_M051\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\CoX_Peripheral\CoX_Peripheral_M051\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.Mini51.doxygen(html/rtf)
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_Mini51\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\CoX_Peripheral\CoX_Peripheral_Mini51\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.HT32F125x.doxygen(html/rtf)
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_HT32F125x\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\CoX_Peripheral\CoX_Peripheral_HT32F125x\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_Template\all\project\template\coide
echo clean %clean_target%(genernate)
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.Manual.doxygen(html/rtf)
set clean_target=CoX\CoX_Peripheral\CoX_Peripheral_Manual\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\CoX_Peripheral\CoX_Peripheral_Manual\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Peripheral.publish(*.zip)
set clean_target=CoX\CoX_Peripheral\publish\*.zip
if exist %clean_target% del /q %clean_target% >>nul
echo completed
echo -----------------------------------
echo -----------------------------------
echo clean CoX.Driver.LCD.Character.HD44780.doxygen(html/rtf)
set clean_target=CoX\Driver\LCD_Character\HD44780\Character_LCD_HD44780_Driver\doc\gen\doxy.log
if exist %clean_target% del /q %clean_target% >>nul
set clean_target="CoX\Driver\LCD_Character\HD44780\Character_LCD_HD44780_Driver\doc\en"
if exist %clean_target% rd /s /q %clean_target% >>nul
echo completed
echo -----------------------------------
pause