File tree Expand file tree Collapse file tree 2 files changed +18
-16
lines changed
Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # # THE DELETE FILES
3+ # ## THE DELETE FILES
44find . -type f -name ' *.pyc' -delete
55
6- # # THE DELETE DIRECTORY
7- # .tox/*
6+ # ## THE DELETE DIRECTORY
7+ # # .tox/*
88find .tox -path " *" -delete
9- # ./build/*
9+ # # ./build/*
1010find ./build -path " *" ! -name " build" -delete
11- # ./src/com.dvsnier.*.egg-info
11+ # # ./src/com.dvsnier.*.egg-info
1212find ./src -path " *com.dvsnier*" -delete
1313# find ./src -path "*com.dvsnier.*" -type d -exec rm -r {} +
1414# find ./src -path "*com.dvsnier.*" -type f -delete
15- # ./dist/*
15+ # # ./dist/*
1616find ./dist -path " *" ! -name " dist" -delete
17- # ./out/log/*
17+ # # ./out/log/*
1818find ./out/log -path " *" ! -name " log" -delete
19- # __pycache__
19+ # # __pycache__
2020find . -type d -name __pycache__ -exec rm -r {} +
Original file line number Diff line number Diff line change 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+
8+ # ## THE DELETE FILES
89Get-ChildItem - Path . - include * .pyc - Recurse | Remove-Item
9- # # THE DELETE DIRECTORY
10- # .tox/*
10+
11+ # ## THE DELETE DIRECTORY
12+ # # .tox/*
1113Remove-Item - Path .\.tox - Recurse
12- # ./build/*
14+ # # ./build/*
1315Remove-Item - Path .\build\* - Recurse
14- # ./src/com.dvsnier.*.egg-info
16+ # # ./src/com.dvsnier.*.egg-info
1517Remove-Item - Path .\src\com.dvsnier.* .egg- info - Recurse
1618# Get-ChildItem -Path .\src\com.dvsnier.*.egg-info -Recurse
17- # ./dist/*
19+ # # ./dist/*
1820Remove-Item - Path .\dist\* - Recurse
19- # ./out/log/*
21+ # # ./out/log/*
2022Remove-Item - Path .\out\log\* - Recurse
21- # __pycache__
23+ # # __pycache__
2224Get-ChildItem - Path . - include __pycache__ - Recurse | Remove-Item
You can’t perform that action at this time.
0 commit comments