mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-12-22 14:24:43 -08:00
Some qol updates to the scripts
This commit is contained in:
parent
0376a22775
commit
6f46ff1479
@ -11,6 +11,7 @@ int gen_main()
|
|||||||
gen::init();
|
gen::init();
|
||||||
log_fmt("Generating code for Handmade Hero\n");
|
log_fmt("Generating code for Handmade Hero\n");
|
||||||
|
|
||||||
|
log_fmt("Generaton finished for Handmade Hero\n");
|
||||||
gen::deinit();
|
gen::deinit();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -318,6 +318,7 @@ build-simple $includes $compiler_args $unit $executable
|
|||||||
write-host "Compiled Handmade Generate`n"
|
write-host "Compiled Handmade Generate`n"
|
||||||
|
|
||||||
& $executable
|
& $executable
|
||||||
|
write-host "`n"
|
||||||
|
|
||||||
if ( $false ) {
|
if ( $false ) {
|
||||||
Remove-Item (Get-ChildItem -Path $path_build -Recurse -Force)
|
Remove-Item (Get-ChildItem -Path $path_build -Recurse -Force)
|
||||||
|
@ -26,6 +26,6 @@ Invoke-WebRequest -Uri $url -OutFile $destinationZip
|
|||||||
Expand-Archive -Path $destinationZip -DestinationPath $path_temp
|
Expand-Archive -Path $destinationZip -DestinationPath $path_temp
|
||||||
|
|
||||||
# Move gen.hpp to the project directory
|
# 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
|
Remove-Item $path_temp -Recurse
|
||||||
|
Loading…
Reference in New Issue
Block a user