Some qol updates to the scripts

This commit is contained in:
Edward R. Gonzalez 2023-09-08 15:19:21 -04:00
parent 0376a22775
commit 6f46ff1479
3 changed files with 3 additions and 1 deletions

View File

@ -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;
}

View File

@ -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)

View File

@ -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