From 4928a07c4410576257a3157189b670da141f3022 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 8 Sep 2023 12:55:55 -0400 Subject: [PATCH] Updated clean script --- scripts/clean.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/clean.ps1 b/scripts/clean.ps1 index 6cfb7dc..84cb2bc 100644 --- a/scripts/clean.ps1 +++ b/scripts/clean.ps1 @@ -2,6 +2,12 @@ clear-host $path_root = git rev-parse --show-toplevel $path_project = join-path $path_root "project" +$path_build = join-path $path_project "build" $path_dependencies = join-path $path_project "dependencies" -Remove-Item $path_dependencies -Recurse +if ( Test-Path $path_dependencies ) { + Remove-Item $path_dependencies -Recurse +} +if ( Test-Path $path_project ) { + Remove-Item $path_build -Recurse +}