-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathclean.bat
More file actions
21 lines (15 loc) · 561 Bytes
/
clean.bat
File metadata and controls
21 lines (15 loc) · 561 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
rmdir /s /q .vs
rmdir /s /q .idea
for /f "delims=" %%e in ('dir /A:D /S /B *bin^|find /i "\bin"') do @if exist "%%e" (@rmdir /S /Q %%e)
for /f "delims=" %%e in ('dir /A:D /S /B *obj^|find /i "\obj"') do @if exist "%%e" (@rmdir /S /Q %%e)
for /f "delims=" %%e in ('dir /A:D /S /B *.vs^|find /i "\.vs"') do @if exist "%%e" (@rmdir /S /Q %%e)
del /S ".\winMemoryOptimizer\FodyWeavers.xsd"
git reflog expire --expire=1.days.ago --expire-unreachable=now --all
if errorlevel 1 goto error
git gc
if errorlevel 1 goto error
goto exit
:error
pause
:exit