Skip to content

Commit c5f943d

Browse files
committed
the rmcache upgrade
1 parent 93931a9 commit c5f943d

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.rmcache.ps1

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@
44
# 1. https://docs.microsoft.com/zh-cn/powershell/scripting/samples/working-with-files-and-folders?view=powershell-7.1
55
# 2. https://docs.microsoft.com/zh-cn/powershell/scripting/samples/working-with-registry-keys?view=powershell-7.1
66
#
7-
# the delete files
7+
## THE DELETE FILES
88
Get-ChildItem -Path . -include *.pyc -Recurse | Remove-Item
9-
# the delete directory
10-
Get-ChildItem -Path . -include __pycache__ -Recurse | Remove-Item
9+
## THE DELETE DIRECTORY
10+
# ./build/*
1111
Remove-Item -Path .\build\* -Recurse
12+
# ./src/com.dvsnier.*.egg-info
13+
Remove-Item -Path .\src\com.dvsnier.*.egg-info -Recurse
14+
# Get-ChildItem -Path .\src\com.dvsnier.*.egg-info -Recurse
15+
# ./dist/*
16+
Remove-Item -Path .\dist\* -Recurse
17+
# ./out/log/*
1218
Remove-Item -Path .\out\log\* -Recurse
19+
# __pycache__
20+
Get-ChildItem -Path . -include __pycache__ -Recurse | Remove-Item

0 commit comments

Comments
 (0)