mirror of https://github.com/abpframework/abp.git
1 changed files with 15 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||
|
Clear-Host |
||||
|
|
||||
|
Write-Host "Deleting all BIN and OBJ folders..." -ForegroundColor Cyan |
||||
|
|
||||
|
Get-ChildItem -Path . -Include bin,obj -Recurse -Directory | ForEach-Object { |
||||
|
if ($_.FullName -notmatch "\\node_modules\\") { |
||||
|
Write-Host "Deleting:" $_.FullName -ForegroundColor Yellow |
||||
|
Remove-Item $_.FullName -Recurse -Force |
||||
|
} else { |
||||
|
Write-Host "Skipping:" $_.FullName -ForegroundColor Magenta |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
Write-Host "BIN and OBJ folders have been successfully deleted." -ForegroundColor Green |
||||
|
|
||||
Loading…
Reference in new issue