Skip to content
Permalink
Browse files
Optimized the "clean" task
  • Loading branch information
cedx committed Jun 30, 2020
1 parent 90acc3a commit fb0490291ce2e2b959ff295e953b05847df8da08
Showing with 2 additions and 2 deletions.
  1. +2 −2 tool/clean.ps1
@@ -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

0 comments on commit fb04902

Please sign in to comment.