Made ease of use scripts for building and cleaning

This commit is contained in:
ed
2024-02-09 17:50:42 -05:00
parent 932db741fa
commit 76ce8a79c2
3 changed files with 54 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
Clear-Host
$path_root = git rev-parse --show-toplevel
$build_dir = Join-Path $path_root 'build'
if (Test-Path $build_dir) {
Get-ChildItem -Path $build_dir -Recurse | Remove-Item -Force -Recurse
Write-Host "Build directory cleaned."
} else {
Write-Host "Build directory does not exist."
}