-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCleanAll.bat
84 lines (71 loc) · 2.1 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
@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 BmLib
ECHO.
ECHO.
ECHO Components\ServiceLocator
ECHO Components\Settings\Settings
ECHO Components\Settings\SettingsModel
ECHO Components\Icons
ECHO.
ECHO Demos\GenericDemo
ECHO Demos\ThemedDemo
ECHO Demos\BreadcrumbTestLib
ECHO Demos\SSCCoreLib
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
RMDIR /S /Q .vs
RMDIR /S /Q TestResults
ECHO.
ECHO Deleting BIN and OBJ Folders in BmLib folder
ECHO.
RMDIR /S /Q BmLib\bin
RMDIR /S /Q BmLib\obj
ECHO Deleting BIN and OBJ Folders in Icons folder
ECHO.
RMDIR /S /Q Components\Icons\bin
RMDIR /S /Q Components\Icons\obj
ECHO.
ECHO Deleting BIN and OBJ Folders in ServiceLocator folder
ECHO.
RMDIR /S /Q Components\ServiceLocator\bin
RMDIR /S /Q Components\ServiceLocator\obj
ECHO Deleting BIN and OBJ Folders in Settings\Settings folder
ECHO.
RMDIR /S /Q Components\Settings\Settings\bin
RMDIR /S /Q Components\Settings\Settings\obj
ECHO Deleting BIN and OBJ Folders in Settings\SettingsModel folder
ECHO.
RMDIR /S /Q Components\Settings\SettingsModel\bin
RMDIR /S /Q Components\Settings\SettingsModel\obj
ECHO Deleting BIN and OBJ Folders in GenericDemo folder
ECHO.
RMDIR /S /Q Demos\GenericDemo\bin
RMDIR /S /Q Demos\GenericDemo\obj
ECHO Deleting BIN and OBJ Folders in BreadcrumbTestLib folder
ECHO.
RMDIR /S /Q Demos\BreadcrumbTestLib\bin
RMDIR /S /Q Demos\BreadcrumbTestLib\obj
ECHO Deleting BIN and OBJ Folders in ThemedDemo folder
ECHO.
RMDIR /S /Q Demos\ThemedDemo\bin
RMDIR /S /Q Demos\ThemedDemo\obj
ECHO Deleting BIN and OBJ Folders in SSCCoreLib folder
ECHO.
RMDIR /S /Q Demos\SSCCoreLib\bin
RMDIR /S /Q Demos\SSCCoreLib\obj
PAUSE
:EndOfBatch