Fixes + more setup, added more directories to clean script.

This commit is contained in:
2023-07-24 18:56:15 -04:00
parent b5cad6e8a1
commit 4a87a42db0
6 changed files with 31 additions and 12 deletions

View File

@ -15,7 +15,7 @@ foreach ( $arg in $args )
$path_root = git rev-parse --show-toplevel
$path_project = Join-Path $path_root project
$path_project_build = Join-Path $path_bootstrap build
$path_project_build = Join-Path $path_project build
write-host "`n`nBuilding gencpp bootstrap`n"

View File

@ -1,13 +1,21 @@
$path_root = git rev-parse --show-toplevel
$path_build = Join-Path $path_root build
$path_test = Join-Path $path_root test
$path_gen = Join-Path $path_test gen
$path_test_build = Join-Path $path_test build
$path_gen_build = Join-Path $path_gen build
$path_root = git rev-parse --show-toplevel
$path_project = Join-Path $path_root project
$path_singleheader = Join-Path $path_root singleheader
$path_test = Join-Path $path_root test
$path_gen = Join-Path $path_test gen
$path_gen_build = Join-Path $path_gen build
$path_test_build = Join-Path $path_test build
$path_project_build = Join-Path $path_project build
$path_singleheader_build = Join-Path $path_singleheader build
if ( Test-Path $path_build )
if ( Test-Path $path_project_build)
{
Remove-Item $path_build -Recurse
Remove-Item $path_project_build -Recurse
}
if ( Test-Path $path_singleheader_build)
{
Remove-Item $path_singleheader_build -Recurse
}
if ( Test-Path $path_test_build )