-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleanup.bat
More file actions
59 lines (56 loc) · 1.37 KB
/
Copy pathcleanup.bat
File metadata and controls
59 lines (56 loc) · 1.37 KB
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
@echo off
echo Cleaning up project directory...
echo.
:: Remove build artifacts and temporary files
if exist ".vs" rd /s /q ".vs"
if exist "x64" rd /s /q "x64"
if exist "x86" rd /s /q "x86"
if exist "Debug" rd /s /q "Debug"
if exist "Release" rd /s /q "Release"
if exist "*.aps" del /f /q "*.aps"
if exist "*.user" del /f /q "*.user"
if exist "*.suo" del /f /q "*.suo"
if exist "*.sdf" del /f /q "*.sdf"
if exist "*.opensdf" del /f /q "*.opensdf"
if exist "*.db" del /f /q "*.db"
if exist "*.opendb" del /f /q "*.opendb"
if exist "*.ipch" del /f /q "*.ipch"
:: Remove unnecessary scripts and directories
if exist "setup_github.bat" del /f /q "setup_github.bat"
if exist "dist" rd /s /q "dist"
if exist "build.bat" del /f /q "build.bat"
if exist "build.ps1" del /f /q "build.ps1"
if exist "prepare_dist.bat" del /f /q "prepare_dist.bat"
echo.
echo Directory cleaned. Files remaining:
echo.
echo Source files:
echo - ShellExt.h
echo - ShellExt.cpp
echo - dllmain.cpp
echo.
echo Project files:
echo - ShellExt.sln
echo - ShellExt.vcxproj
echo - ShellExt.def
echo.
echo Resource files:
echo - resource.h
echo - ShellExt.rc
echo.
echo Scripts:
echo - build.cmd
echo - register.bat
echo - unregister.bat
echo.
echo Documentation:
echo - README.md
echo - LICENSE
echo.
echo Configuration:
echo - .gitignore
echo - .vscode/tasks.json
echo - .vscode/launch.json
echo - .vscode/c_cpp_properties.json
echo.
pause