HandmadeHero/scripts/clean.ps1

17 lines
488 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-26 22:16:41 -07:00
$path_data = join-path $path_root "data"
2023-09-08 09:42:24 -07:00
$path_dependencies = join-path $path_project "dependencies"
2023-09-26 22:16:41 -07:00
$path_binaries = join-path $path_data "binaries"
2023-09-08 09:42:24 -07:00
2023-09-23 18:03:33 -07:00
if ( Test-Path $path_build ) {
Remove-Item -verbose $path_build -Recurse
2023-09-08 09:55:55 -07:00
}
2023-09-26 22:16:41 -07:00
if ( Test-Path $path_binaries ) {
Remove-Item -verbose $path_binaries -Recurse
}