Skip to content

Commit 7c2ceb3

Browse files
committed
the clean directory structure that is optimized
1 parent b6412db commit 7c2ceb3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.vscode/tasks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"label": "1. Python Clean",
1414
"type": "shell",
1515
"linux": {
16-
"command": "${workspaceFolder}/.rmcache.sh"
16+
"command": "${workspaceFolder}/Temp/bash/clean/.rmcache.sh"
1717
},
1818
"osx": {
19-
"command": "${workspaceFolder}/.rmcache.sh"
19+
"command": "${workspaceFolder}/Temp/bash/clean/.rmcache.sh"
2020
},
2121
"windows": {
22-
"command": "${workspaceFolder}/.rmcache.ps1"
22+
"command": "${workspaceFolder}/Temp/bash/clean/.rmcache.ps1"
2323
}
2424
},
2525
{

.rmcache.ps1 renamed to Temp/bash/clean/.rmcache.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ Remove-Item -Path .\src\com.dvsnier.*.egg-info -Recurse
2020
Remove-Item -Path .\dist\* -Recurse
2121
## ./out/log/*
2222
Remove-Item -Path .\out\log\* -Recurse
23+
## .pytest_cache
24+
Remove-Item -Path .\.pytest_cache\* -Recurse
2325
## __pycache__
2426
Get-ChildItem -Path . -include __pycache__ -Recurse | Remove-Item

.rmcache.sh renamed to Temp/bash/clean/.rmcache.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ find ./src -path "*com.dvsnier*" -delete
1616
find ./dist -path "*" ! -name "dist" -delete
1717
## ./out/log/*
1818
find ./out/log -path "*" ! -name "log" -delete
19+
## .pytest_cache
20+
find ./.pytest_cache -path "*" ! -name ".pytest_cache" -delete
1921
## __pycache__
2022
find . -type d -name __pycache__ -exec rm -r {} +

0 commit comments

Comments
 (0)