diff options
Diffstat (limited to 'gui/win32/scripts/clean.ps1')
| -rw-r--r-- | gui/win32/scripts/clean.ps1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/win32/scripts/clean.ps1 b/gui/win32/scripts/clean.ps1 new file mode 100644 index 0000000..59d9593 --- /dev/null +++ b/gui/win32/scripts/clean.ps1 @@ -0,0 +1,15 @@ +$originalLocation = Get-Location +$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path +Set-Location $scriptPath + +if (!(Test-Path -Path "..\build")) { + Set-Location $originalLocation + exit +} + +Remove-Item "..\build" -Recurse -Force -ErrorAction SilentlyContinue +if (Test-Path -Path "..\.clangd") { + Remove-Item "..\.clangd" -Recurse -Force -ErrorAction SilentlyContinue +} + +Set-Location $originalLocation |
