diff --git a/code/api.odin b/code/api.odin index 6a178b4..a902b74 100644 --- a/code/api.odin +++ b/code/api.odin @@ -125,7 +125,7 @@ render :: proc() draw_text( "Monitor : %v", rl.GetMonitorName(0) ) draw_text( "Screen Width : %v", rl.GetScreenWidth() ) draw_text( "Screen Height: %v", rl.GetScreenHeight() ) - draw_text( "HOT RELOAD BITCHES" ) + // draw_text( "HOT RELOAD BITCHES" ) draw_debug_text_y = 50 } diff --git a/scripts/update_deps.ps1 b/scripts/update_deps.ps1 index 4f9dbc2..4b57d09 100644 --- a/scripts/update_deps.ps1 +++ b/scripts/update_deps.ps1 @@ -34,6 +34,8 @@ if (Test-Path -Path $path_odin) push-location $path_odin & .\build.bat pop-location + + $binaries_dirty = true } else { @@ -48,16 +50,20 @@ else push-location $path_odin & .\build.bat pop-location + + $binaries_dirty = true } $path_vendor = join-path $path_odin 'vendor' $path_vendor_raylib = join-path $path_vendor 'raylib' $path_raylib_dlls = join-path $path_vendor_raylib 'windows' -$third_party_dlls = Get-ChildItem -Path $path_raylib_dlls -Filter '*.dll' -foreach ($dll in $third_party_dlls) { - $destination = join-path $path_build $dll.Name - Copy-Item $dll.FullName -Destination $destination -Force +if ( $binaries_dirty ) +{ + $third_party_dlls = Get-ChildItem -Path $path_raylib_dlls -Filter '*.dll' + foreach ($dll in $third_party_dlls) { + $destination = join-path $path_build $dll.Name + Copy-Item $dll.FullName -Destination $destination -Force + } } - pop-location