Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Optimized the "clean" task
  • Loading branch information
cedx committed Jun 30, 2020
1 parent e8671c9 commit a9d807a2bc013ade68e55a32082f21addb86edc3
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 a9d807a

Please sign in to comment.