From 6f46ff1479ede7cc58f2784163a099486b7112d6 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 8 Sep 2023 15:19:21 -0400 Subject: [PATCH] Some qol updates to the scripts --- project/gen/gen_handmade.cpp | 1 + scripts/build.ps1 | 1 + scripts/update_deps.ps1 | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/project/gen/gen_handmade.cpp b/project/gen/gen_handmade.cpp index abc032b..507b486 100644 --- a/project/gen/gen_handmade.cpp +++ b/project/gen/gen_handmade.cpp @@ -11,6 +11,7 @@ int gen_main() gen::init(); log_fmt("Generating code for Handmade Hero\n"); + log_fmt("Generaton finished for Handmade Hero\n"); gen::deinit(); return 0; } diff --git a/scripts/build.ps1 b/scripts/build.ps1 index dd9d2b5..c752abd 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -318,6 +318,7 @@ build-simple $includes $compiler_args $unit $executable write-host "Compiled Handmade Generate`n" & $executable +write-host "`n" if ( $false ) { Remove-Item (Get-ChildItem -Path $path_build -Recurse -Force) diff --git a/scripts/update_deps.ps1 b/scripts/update_deps.ps1 index 13f0c72..a1ae4d2 100644 --- a/scripts/update_deps.ps1 +++ b/scripts/update_deps.ps1 @@ -26,6 +26,6 @@ Invoke-WebRequest -Uri $url -OutFile $destinationZip Expand-Archive -Path $destinationZip -DestinationPath $path_temp # Move gen.hpp to the project directory -Move-Item -Path (join-path $path_temp "gen.hpp") -Destination $path_dependencies +Move-Item -Path (join-path $path_temp "gen.hpp") -Destination $path_dependencies -Force Remove-Item $path_temp -Recurse