mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
519 B
14 lines
519 B
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
|
|
|