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" # if ( Test-Path $path_dependencies ) { # Remove-Item $path_dependencies -Recurse # } if ( Test-Path $path_project ) { Remove-Item $path_build -Recurse }