-
Notifications
You must be signed in to change notification settings - Fork 61
/
CleanAll.bat
134 lines (111 loc) · 3.26 KB
/
CleanAll.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
130
131
132
133
134
@ECHO OFF
pushd "%~dp0"
ECHO.
ECHO.
ECHO.
ECHO This script deletes all temporary build files in their
ECHO corresponding BIN and OBJ Folder contained in the following projects
ECHO.
ECHO Edi
ECHO Edi.Apps
ECHO Edi.Core
ECHO Edi.Dialogs
ECHO Edi.Documents
ECHO Edi.Interfaces
ECHO Edi.Themes
ECHO Edi.Settings
ECHO Edi.SettingsView
ECHO Edi.Util
ECHO.
ECHO ICSharpCode.AvalonEdit
ECHO SimpleControls
ECHO.
ECHO Log4NetTools
ECHO Tools-BuiltIn-Output
ECHO Tools-BuiltIn-Files
ECHO.
ECHO MiniUML.Diagnostics
ECHO MiniUML.Framework
ECHO MiniUML.Model
ECHO MiniUML.View
ECHO MiniUML.Plugins.UmlClassDiagram
ECHO.
ECHO Debug and Release folders
ECHO.
REM Ask the user if hes really sure to continue beyond this point XXXXXXXX
set /p choice=Are you sure to continue (Y/N)?
if not '%choice%'=='Y' Goto EndOfBatch
REM Script does not continue unless user types 'Y' in upper case letter
ECHO.
ECHO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO.
ECHO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO.
ECHO Removing vs settings folder with *.sou file
ECHO.
RMDIR /S /Q .vs
ECHO Deleting BIN and OBJ Folders in EDI folder
ECHO.
RMDIR /S /Q Edi\Edi\bin
RMDIR /S /Q Edi\Edi\obj
ECHO Deleting BIN and OBJ Folders in Edi.Apps
ECHO.
RMDIR /S /Q Edi\Edi.Apps\bin
RMDIR /S /Q Edi\Edi.Apps\obj
ECHO Deleting BIN and OBJ Folders in Edi.Core
ECHO.
RMDIR /S /Q Edi\Edi.Core\bin
RMDIR /S /Q Edi\Edi.Core\obj
RMDIR /S /Q Edi\Edi.Dialogs\bin
RMDIR /S /Q Edi\Edi.Dialogs\obj
RMDIR /S /Q Edi\Edi.Documents\bin
RMDIR /S /Q Edi\Edi.Documents\obj
RMDIR /S /Q Edi\Edi.Interfaces\bin
RMDIR /S /Q Edi\Edi.Interfaces\obj
RMDIR /S /Q Edi\Edi.Themes\bin
RMDIR /S /Q Edi\Edi.Themes\obj
ECHO Deleting BIN and OBJ Folders in Settings
ECHO.
RMDIR /S /Q Edi\Settings\Edi.Settings\bin
RMDIR /S /Q Edi\Settings\Edi.Settings\obj
ECHO Deleting BIN and OBJ Folders in SettingsView
ECHO.
RMDIR /S /Q Edi\Settings\Edi.SettingsView\bin
RMDIR /S /Q Edi\Settings\Edi.SettingsView\obj
ECHO Deleting BIN and OBJ Folders in Util
ECHO.
RMDIR /S /Q Edi\Edi.Util\bin
RMDIR /S /Q Edi\Edi.Util\obj
RMDIR /S /Q Edi\ICSharpCode.AvalonEdit\bin
RMDIR /S /Q Edi\ICSharpCode.AvalonEdit\obj
ECHO Deleting BIN and OBJ Folders in SimpleControls
ECHO.
RMDIR /S /Q Edi\SimpleControls\bin
RMDIR /S /Q Edi\SimpleControls\obj
ECHO Deleting BIN and OBJ Folders in Log4NetTools folders
ECHO.
RMDIR /S /Q .\Tools\Log4NetTools\bin
RMDIR /S /Q .\Tools\Log4NetTools\obj
ECHO Deleting BIN and OBJ Folders in Output project folders
ECHO.
RMDIR /S /Q .\Tools\BuiltIn\Output\bin
RMDIR /S /Q .\Tools\BuiltIn\Output\obj
ECHO Deleting BIN and OBJ Folders in Files project folders
RMDIR /S /Q .\Tools\BuiltIn\Files\bin
RMDIR /S /Q .\Tools\BuiltIn\Files\obj
ECHO Deleting BIN and OBJ Folders in MiniUML folders
ECHO.
RMDIR /S /Q .\MiniUML\MiniUML.Diagnostics\bin
RMDIR /S /Q .\MiniUML\MiniUML.Diagnostics\obj
RMDIR /S /Q .\MiniUML\MiniUML.Framework\bin
RMDIR /S /Q .\MiniUML\MiniUML.Framework\obj
RMDIR /S /Q .\MiniUML\MiniUML.Model\bin
RMDIR /S /Q .\MiniUML\MiniUML.Model\obj
RMDIR /S /Q .\MiniUML\MiniUML.View\bin
RMDIR /S /Q .\MiniUML\MiniUML.View\obj
RMDIR /S /Q .\MiniUML\Plugins\src\MiniUML.Plugins.UmlClassDiagram\bin
RMDIR /S /Q .\MiniUML\Plugins\src\MiniUML.Plugins.UmlClassDiagram\obj
RMDIR /S /Q .\Release
RMDIR /S /Q .\Debug
PAUSE
:EndOfBatch