updates on package_release.ps1 and clean.ps1

This commit is contained in:
2024-12-10 22:42:07 -05:00
parent 913d9bf26b
commit c0aa4fee95
2 changed files with 50 additions and 20 deletions

View File

@ -4,6 +4,9 @@ Import-Module $misc
$path_root = Get-ScriptRepoRoot
$path_base = Join-Path $path_root base
$path_base_build = Join-Path $path_base build
$path_c_library = Join-Path $path_root gen_c_library
$path_c_library_build = Join-Path $gen_c_library build
$path_c_library_gen = Join-Path $gen_c_library gen
$path_segmented = Join-Path $path_root gen_segmented
$path_segmented_build = Join-Path $path_segmented build
$path_segmented_gen = Join-Path $path_segmented gen
@ -25,6 +28,12 @@ if ( Test-Path $path_base_build) {
if ( Test-Path $path_segmented_build) {
Remove-Item $path_segmented_build -Recurse -Verbose
}
if ( Test-Path $path_c_library_gen ) {
Remove-Item $path_segmented_gen -Recurse -Verbose
}
if ( Test-Path $path_segmented_build) {
Remove-Item $path_segmented_build -Recurse -Verbose
}
if ( Test-Path $path_segmented_gen ) {
Remove-Item $path_segmented_gen -Recurse -Verbose
}