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

Please sign in to comment.