Browse Source

Optimized the "clean" task

main
Cédric Belin 1 week ago
parent
commit
7417348750
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tool/clean.ps1

+ 2
- 2
tool/clean.ps1 View File

@@ -3,7 +3,7 @@ Set-StrictMode -Version Latest
Set-Location (Split-Path $PSScriptRoot)

foreach ($item in "build", "doc/api", "www") {
if (Test-Path $item) { Remove-Item $item -Recurse }
if (Test-Path $item) { Remove-Item $item -Force -Recurse }
}

Get-ChildItem var -Exclude .gitkeep | Remove-Item -Recurse
Remove-Item var/* -Exclude .gitkeep -Force -Recurse

Loading…
Cancel
Save