HandmadeHero/scripts/clean.ps1

14 lines
377 B
PowerShell
Raw Normal View History

2023-09-08 09:42:24 -07:00
clear-host
$path_root = git rev-parse --show-toplevel
2023-09-08 12:40:40 -07:00
$path_project = join-path $path_root "project"
$path_build = join-path $path_root "build"
2023-09-08 09:42:24 -07:00
$path_dependencies = join-path $path_project "dependencies"
2023-09-08 10:00:05 -07:00
# if ( Test-Path $path_dependencies ) {
# Remove-Item $path_dependencies -Recurse
# }
2023-09-08 09:55:55 -07:00
if ( Test-Path $path_project ) {
Remove-Item $path_build -Recurse
}