forked from glscene/GLXEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_clean.cmd
82 lines (69 loc) · 2.08 KB
/
_clean.cmd
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
@echo off delete exe and res file
del *.exe /s
del *.scr /s
del *.xml /s
del *.res /s
@echo off delete delphi units but not packages
del *.bpl /s
del *.dcp /s
del *.rsm /s
del *.dcu /s
del *.bak /s
@echo off not delete C++ includes and libs
del *.hpp /s
del *.bpi /s
del *.lib /s
del *.a /s
@echo off delete debug files
del *.ddp /s
del *.ppu /s
del *.o /s
del *.~* /s
del *.log /s
del *.dsk /s
del *.dof /s
del *.bk? /s
del *.mps /s
del *.rst /s
del *.s /s
del *.map /s
del *.drc /s
del *.local /s
@echo off delete more rad studio files
del *.identcache /s
del *.otares /s
del *.tvsconfig /s
del *.stat /s
del *.db /s
@echo off delete more cpp builder files
del *.#00 /s
del *.pch /s
del *.tds /s
del *.ilc /s
del *.ild /s
del *.ilf /s
del *.ils /s
del *.pdi /s
del *.vlb /s
echo ************************************************
echo Don't delete some files
echo ************************************************
attrib +R "AdvDemos/Q3Demo/Model/animation.cfg"
rem del *.cfg /s - there are quake's animations
attrib -R "AdvDemos/Q3Demo/Model/animation.cfg"
echo---------------------------------------------------------
rem echo delete all .svn directories with subdirectories and files
rem for /r %1 %%R in (.svn) do if exist "%%R" (rd /s /q "%%R")
rem echo delete all .git directories with subdirectories and files
rem for /r %1 %%R in (.git) do if exist "%%R" (rd /s /q "%%R")
echo---------------------------------------------------------
echo delete debug and Platform directories with all subdirectories and files
rem for /r %1 %%R in (Win32) do if exist "%%R" (rd /s /q "%%R")
rem for /r %1 %%R in (Win64) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (Debug_Build) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (Debug) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (Release_Build) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (Release) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (__history) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (__recovery) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (__astcache) do if exist "%%R" (rd /s /q "%%R")