mirror of https://github.com/abpframework/abp.git
committed by
GitHub
3 changed files with 23 additions and 6 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